summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorKim <UnicronNL@users.noreply.github.com>2017-09-02 15:17:42 +0200
committerGitHub <noreply@github.com>2017-09-02 15:17:42 +0200
commit2f3ec2cd1f5ec543abb8fc46c5ab606ebe8edcdc (patch)
treea34402ca32464595faf1be9e0ea0f493f7e96bb9 /debian
parent9d71d68dac2e865838c1bb872004e0cb843b42f1 (diff)
downloadvyatta-cfg-system-2f3ec2cd1f5ec543abb8fc46c5ab606ebe8edcdc.tar.gz
vyatta-cfg-system-2f3ec2cd1f5ec543abb8fc46c5ab606ebe8edcdc.zip
also disable inits on boot for systemd
Diffstat (limited to 'debian')
-rwxr-xr-xdebian/vyatta-cfg-system.postinst.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/debian/vyatta-cfg-system.postinst.in b/debian/vyatta-cfg-system.postinst.in
index 37c19275..8888aa60 100755
--- a/debian/vyatta-cfg-system.postinst.in
+++ b/debian/vyatta-cfg-system.postinst.in
@@ -11,6 +11,7 @@ for init in ntp ssh snmpd openhpid logd \
ipvsadm dnsmasq ddclient radvd hostapd conntrackd
do
update-rc.d -f ${init} remove >/dev/null
+ systemctl disable ${init} >/dev/null
done
# remove extra call to clock setup only need one. this speeds up boot