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 /sys/fs/cgroup/systemd ] ; then systemctl --system daemon-reload >/dev/null || true fi