summaryrefslogtreecommitdiff
path: root/debian/vyos-1x.postinst
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-06-26 22:11:51 +0200
committerChristian Poessinger <christian@poessinger.com>2021-06-26 22:11:53 +0200
commit87c7a1243e0b643f1d15acd13ed79b98633acb3a (patch)
treecfb67d84862d95774a05b11aac01726ba40895ba /debian/vyos-1x.postinst
parent120b866bf28fb8f6a82404a1254f8e3ad491e0ac (diff)
downloadvyos-1x-87c7a1243e0b643f1d15acd13ed79b98633acb3a.tar.gz
vyos-1x-87c7a1243e0b643f1d15acd13ed79b98633acb3a.zip
Debian: no need to disable salt-minion in postinst script
This is already done in systemd service disable hook from vyos-build.
Diffstat (limited to 'debian/vyos-1x.postinst')
-rw-r--r--debian/vyos-1x.postinst4
1 files changed, 0 insertions, 4 deletions
diff --git a/debian/vyos-1x.postinst b/debian/vyos-1x.postinst
index 2401f730a..8f6fa26fa 100644
--- a/debian/vyos-1x.postinst
+++ b/debian/vyos-1x.postinst
@@ -5,10 +5,6 @@ if ! deb-systemd-helper --quiet was-enabled salt-minion.service; then
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
-
# Turn off Debian default for %sudo
sed -i -e '/^%sudo/d' /etc/sudoers || true