From 87c7a1243e0b643f1d15acd13ed79b98633acb3a Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sat, 26 Jun 2021 22:11:51 +0200 Subject: Debian: no need to disable salt-minion in postinst script This is already done in systemd service disable hook from vyos-build. --- debian/vyos-1x.postinst | 4 ---- 1 file changed, 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 -- cgit v1.2.3