2019-11-27 10:22:31 -05:00
|
|
|
#!/bin/bash
|
|
|
|
|
2024-05-10 23:18:36 -04:00
|
|
|
## Copyright (C) 2012 - 2024 ENCRYPTED SUPPORT LP <adrelanos@whonix.org>
|
2019-11-27 10:22:31 -05:00
|
|
|
## See the file COPYING for copying conditions.
|
|
|
|
|
2021-08-03 12:48:57 -04:00
|
|
|
if [ -f /usr/libexec/helper-scripts/pre.bsh ]; then
|
|
|
|
source /usr/libexec/helper-scripts/pre.bsh
|
2019-11-27 10:22:31 -05:00
|
|
|
fi
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
|
|
|
true "
|
|
|
|
#####################################################################
|
|
|
|
## INFO: BEGIN: $DPKG_MAINTSCRIPT_PACKAGE $DPKG_MAINTSCRIPT_NAME $@
|
|
|
|
#####################################################################
|
|
|
|
"
|
|
|
|
|
|
|
|
## https://forums.whonix.org/t/is-security-misc-suitable-for-hardening-bridges-and-relays/8299/11
|
|
|
|
pam-auth-update --package --remove "$DPKG_MAINTSCRIPT_PACKAGE"
|
|
|
|
|
2023-03-24 08:32:58 -04:00
|
|
|
rm -f /etc/sysctl.d/30_security-misc_aslr-mmap.conf
|
|
|
|
|
2019-11-27 10:22:31 -05:00
|
|
|
true "INFO: debhelper beginning here."
|
|
|
|
|
|
|
|
#DEBHELPER#
|
|
|
|
|
|
|
|
true "INFO: Done with debhelper."
|
|
|
|
|
|
|
|
true "
|
|
|
|
#####################################################################
|
|
|
|
## INFO: END : $DPKG_MAINTSCRIPT_PACKAGE $DPKG_MAINTSCRIPT_NAME $@
|
|
|
|
#####################################################################
|
|
|
|
"
|
|
|
|
|
|
|
|
## Explicitly "exit 0", so eventually trapped errors can be ignored.
|
|
|
|
exit 0
|