diff options
Diffstat (limited to 'autoscripts/postrm-init')
-rw-r--r-- | autoscripts/postrm-init | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/autoscripts/postrm-init b/autoscripts/postrm-init new file mode 100644 index 00000000..6f5bb09a --- /dev/null +++ b/autoscripts/postrm-init @@ -0,0 +1,10 @@ +if [ "$1" = "purge" ] ; then + update-rc.d #SCRIPT# remove >/dev/null +fi + + +# In case this system is running systemd, we make systemd reload the unit files +# to pick up changes. +if [ -d /run/systemd/system ] ; then + systemctl --system daemon-reload >/dev/null || true +fi |