File manager - Edit - /var/lib/dpkg/info/bind9.postrm
Back
#!/bin/sh set -e # Automatically added by dh_installinit/13.3.4 if [ "$1" = "purge" ] ; then update-rc.d named remove >/dev/null fi # End automatically added section # Automatically added by dh_installdeb/13.3.4 dpkg-maintscript-helper mv_conffile /etc/default/bind /etc/default/named 1:9.13.6\~ -- "$@" dpkg-maintscript-helper mv_conffile /etc/default/bind9 /etc/default/named 1:9.12.0\~ -- "$@" dpkg-maintscript-helper mv_conffile /etc/init.d/bind /etc/init.d/named 1:9.13.6\~ -- "$@" dpkg-maintscript-helper mv_conffile /etc/init.d/bind9 /etc/init.d/named 1:9.12.0\~ -- "$@" # End automatically added section # Automatically added by dh_installsystemd/13.3.4 if [ -d /run/systemd/system ] && [ "$1" = remove ]; then systemctl --system daemon-reload >/dev/null || true fi # End automatically added section # Automatically added by dh_installsystemd/13.3.4 if [ "$1" = "remove" ]; then if [ -x "/usr/bin/deb-systemd-helper" ]; then deb-systemd-helper mask 'named.service' >/dev/null || true fi fi if [ "$1" = "purge" ]; then if [ -x "/usr/bin/deb-systemd-helper" ]; then deb-systemd-helper purge 'named.service' >/dev/null || true deb-systemd-helper unmask 'named.service' >/dev/null || true fi fi # End automatically added section # Automatically added by dh_installsystemd/13.3.4 if [ -d /run/systemd/system ] && [ "$1" = remove ]; then systemctl --system daemon-reload >/dev/null || true fi # End automatically added section # Automatically added by dh_installsystemd/13.3.4 if [ "$1" = "remove" ]; then if [ -x "/usr/bin/deb-systemd-helper" ]; then deb-systemd-helper mask 'named-resolvconf.service' >/dev/null || true fi fi if [ "$1" = "purge" ]; then if [ -x "/usr/bin/deb-systemd-helper" ]; then deb-systemd-helper purge 'named-resolvconf.service' >/dev/null || true deb-systemd-helper unmask 'named-resolvconf.service' >/dev/null || true fi fi # End automatically added section # Automatically added by dh_apparmor/2.13.6-10 if [ "$1" = "purge" ] && ! [ -e "/etc/apparmor.d/usr.sbin.named" ] ; then rm -f "/etc/apparmor.d/disable/usr.sbin.named" || true rm -f "/etc/apparmor.d/force-complain/usr.sbin.named" || true rm -f "/etc/apparmor.d/local/usr.sbin.named" || true rm -f /var/cache/apparmor/*/"usr.sbin.named" || true rmdir /etc/apparmor.d/disable 2>/dev/null || true rmdir /etc/apparmor.d/local 2>/dev/null || true rmdir /etc/apparmor.d 2>/dev/null || true fi # End automatically added section if [ "$1" = "purge" ]; then rm -f /etc/bind/rndc.key rmdir /etc/bind >/dev/null 2>&1 || true rm -f /etc/apparmor.d/force-complain/usr.sbin.named >/dev/null 2>&1 || true rmdir /var/lib/bind || true # delete bind daemon user, if it exists if getent passwd bind > /dev/null ; then deluser --quiet bind > /dev/null || true fi fi exit 0
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.5 |
proxy
|
phpinfo
|
Settings