diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-12-28 18:51:37 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-12-28 18:51:40 +0100 |
commit | 8964d55045f57218d2f05770d9f954e620a81974 (patch) | |
tree | e4858f72c8e16d9c090443cf21c2c37f693e8591 /debian/vyatta-cfg-system.postinst.in | |
parent | 1f595ed576870d1a9fe8085fc4a22f0d666410a6 (diff) | |
download | vyatta-cfg-system-8964d55045f57218d2f05770d9f954e620a81974.tar.gz vyatta-cfg-system-8964d55045f57218d2f05770d9f954e620a81974.zip |
debian: cleanup vyatta-cfg-system.postinst
VyOS requires all system services to be disabled by default, this is a second
implementation of the same solution. We should stick with the general solution
in [1].
[1]: https://github.com/vyos/vyos-build/blob/current/data/live-build-config/hooks/live/18-enable-disable_services.chroot
Diffstat (limited to 'debian/vyatta-cfg-system.postinst.in')
-rwxr-xr-x | debian/vyatta-cfg-system.postinst.in | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/debian/vyatta-cfg-system.postinst.in b/debian/vyatta-cfg-system.postinst.in index 352dcd98..53d60f40 100755 --- a/debian/vyatta-cfg-system.postinst.in +++ b/debian/vyatta-cfg-system.postinst.in @@ -6,16 +6,6 @@ sysconfdir=@sysconfdir@ bindir=@bindir@ sbindir=@sbindir@ -# remove init of daemons that are controlled by Vyatta configuration process -for init in ntp ssh snmpd openhpid logd \ - ipvsadm dnsmasq ddclient radvd \ - hostapd conntrackd keepalived \ - pdns-recursor -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 # Mystery: why does Debian do it twice? if [ -L /etc/rcS.d/S*hwclockfirst.sh -a -L /etc/rcS.d/S*hwclock.sh ]; then |