]> git.proxmox.com Git - ifupdown-pve.git/commitdiff
d/postinst: replace #DEBHELPER# template with generated version
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 5 Oct 2022 20:14:36 +0000 (22:14 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 5 Oct 2022 20:14:39 +0000 (22:14 +0200)
For having a better git history of what actually change, in
preparation of dropping the networking.service masking.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/debian/postrm

index 5c83895f3cf3bb73b6d53bbe6c3f3221505ed8c4..24dc249a78d3c5be17aae7c16cf7fb20effe7b17 100644 (file)
@@ -15,5 +15,64 @@ case "$1" in
     ;;
 esac
 
-#DEBHELPER#
+# Automatically added by dh_installinit/13.5.2~bpo11+1
+if [ -z "${DPKG_ROOT:-}" ] && [ "$1" = "purge" ] ; then
+       update-rc.d networking remove >/dev/null
+fi
+# End automatically added section
+# Automatically added by dh_installdeb/13.5.2~bpo11+1
+dpkg-maintscript-helper rm_conffile /etc/default/ifupdown 0.7\~\+ ifupdown -- "$@"
+dpkg-maintscript-helper rm_conffile /etc/init.d/ifupdown 0.7\~\+ ifupdown -- "$@"
+dpkg-maintscript-helper rm_conffile /etc/init.d/ifupdown-clean 0.7\~beta1 ifupdown -- "$@"
+dpkg-maintscript-helper rm_conffile /etc/init/networking.conf 0.8.25\~ ifupdown -- "$@"
+dpkg-maintscript-helper rm_conffile /etc/init/network-interface-container.conf 0.8.25\~ ifupdown -- "$@"
+dpkg-maintscript-helper rm_conffile /etc/init/network-interface-security.conf 0.8.25\~ ifupdown -- "$@"
+dpkg-maintscript-helper rm_conffile /etc/init/network-interface.conf 0.8.25\~ ifupdown -- "$@"
+dpkg-maintscript-helper rm_conffile /etc/network/if-up.d/upstart 0.8.29\~ ifupdown -- "$@"
+dpkg-maintscript-helper rm_conffile /etc/network/if-down.d/upstart 0.8.29\~ ifupdown -- "$@"
+# End automatically added section
+# Automatically added by dh_installsystemd/13.5.2~bpo11+1
+if [ "$1" = remove ] && [ -d /run/systemd/system ] ; then
+       systemctl --system daemon-reload >/dev/null || true
+fi
+# End automatically added section
+# Automatically added by dh_installsystemd/13.5.2~bpo11+1
+if [ "$1" = "remove" ]; then
+       if [ -x "/usr/bin/deb-systemd-helper" ]; then
+               deb-systemd-helper mask 'ifupdown-wait-online.service' >/dev/null || true
+       fi
+fi
+
+if [ "$1" = "purge" ]; then
+       if [ -x "/usr/bin/deb-systemd-helper" ]; then
+               deb-systemd-helper purge 'ifupdown-wait-online.service' >/dev/null || true
+               deb-systemd-helper unmask 'ifupdown-wait-online.service' >/dev/null || true
+       fi
+fi
+# End automatically added section
+# Automatically added by dh_installsystemd/13.5.2~bpo11+1
+if [ "$1" = remove ] && [ -d /run/systemd/system ] ; then
+       systemctl --system daemon-reload >/dev/null || true
+fi
+# End automatically added section
+# Automatically added by dh_installsystemd/13.5.2~bpo11+1
+if [ "$1" = remove ] && [ -d /run/systemd/system ] ; then
+       systemctl --system daemon-reload >/dev/null || true
+fi
+# End automatically added section
+# Automatically added by dh_installsystemd/13.5.2~bpo11+1
+if [ "$1" = "remove" ]; then
+       if [ -x "/usr/bin/deb-systemd-helper" ]; then
+               deb-systemd-helper mask 'networking.service' >/dev/null || true
+       fi
+fi
+
+if [ "$1" = "purge" ]; then
+       if [ -x "/usr/bin/deb-systemd-helper" ]; then
+               deb-systemd-helper purge 'networking.service' >/dev/null || true
+               deb-systemd-helper unmask 'networking.service' >/dev/null || true
+       fi
+fi
+# End automatically added section
+