From 8964d55045f57218d2f05770d9f954e620a81974 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Mon, 28 Dec 2020 18:51:37 +0100 Subject: 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 --- debian/vyatta-cfg-system.postinst.in | 10 ---------- 1 file changed, 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 -- cgit v1.2.3