blob: a427c3cc07dc35c0268d69e96563dd9e1323d1ce (
plain)
1
2
3
4
5
6
7
8
9
10
|
#!/bin/sh -e
if ! deb-systemd-helper --quiet was-enabled salt-minion.service; then
# Enables the unit on first installation, creates new
# symlinks on upgrades if the unit file has changed.
deb-systemd-helper disable salt-minion.service >/dev/null || true
fi
if [ -x "/etc/init.d/salt-minion" ]; then
update-rc.d -f salt-minion remove >/dev/null
fi
|