| Server IP : 45.33.98.47 / Your IP : 216.73.217.106 Web Server : Apache/2.4.66 (Debian) System : Linux 8783c923f53b 6.8.0-51-generic #52-Ubuntu SMP PREEMPT_DYNAMIC Thu Dec 5 13:09:44 UTC 2024 x86_64 User : www-data ( 33) PHP Version : 8.3.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/lib/dpkg/info/ |
Upload File : |
#!/bin/sh
set -e
_update_sysctl() {
# Conditionally apply the updated sysctl configuration:
# - The init system must not be systemd; if it is then its own
# file trigger will handle this.
# - /proc/sys must be available.
# - We must not be running in a chroot, as we would then wrongly
# override the outer system.
# - We must not be running in a container, as many sysctls will
# not be writable and we don't know how to handle that.
if ! [ -d /run/systemd/system ] \
&& [ -d /proc/sys ] \
&& ! ischroot \
&& ! grep -qz '^container=' /proc/1/environ; then
echo 'procps: Applying updated sysctl configuration'
sysctl -q --system || true
fi
}
if [ "$1" = "triggered" ]; then
shift
for trigger in "$@"; do
case "$trigger" in
/usr/lib/sysctl.d)
_update_sysctl
;;
esac
done
exit 0
fi
# Automatically added by dh_installdeb/13.24.2
dpkg-maintscript-helper rm_conffile /etc/sysctl.conf 2:4.0.4-7\~ -- "$@"
# End automatically added section
# Automatically added by dh_installinit/13.24.2
if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] || [ "$1" = "abort-deconfigure" ] || [ "$1" = "abort-remove" ] ; then
if [ -x "/etc/init.d/procps" ]; then
update-rc.d procps defaults >/dev/null || exit 1
fi
fi
# End automatically added section