blob: 61dcfc539568c9611e225fbb72ab95ae17548259 (
plain)
1
2
3
4
5
6
7
8
9
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 /sys/fs/cgroup/systemd ] ; then
systemctl --system daemon-reload >/dev/null || true
fi
|