From 5296d938dddf85d50d1b61dfb628a74905f778e8 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Wed, 27 May 2009 09:35:14 -0700 Subject: NTP management version 3 1. Don't start NTP server at boot (network not configed yet) 2. Start NTP as needed based on vyatta config --- debian/vyatta-cfg-system.postinst.in | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'debian/vyatta-cfg-system.postinst.in') diff --git a/debian/vyatta-cfg-system.postinst.in b/debian/vyatta-cfg-system.postinst.in index 57f4b043..ec159432 100644 --- a/debian/vyatta-cfg-system.postinst.in +++ b/debian/vyatta-cfg-system.postinst.in @@ -7,13 +7,10 @@ bindir=@bindir@ sbindir=@sbindir@ # remove init of daemons that we start/stop -for init in ssh snmpd openhpid vyatta-keepalived ipvsadm dnsmasq ddclient; do +for init in ntp ssh snmpd openhpid vyatta-keepalived ipvsadm dnsmasq ddclient; do update-rc.d -f ${init} remove >/dev/null done -# for upgrade make sure ntp is run during boot -update-rc.d ntp defaults - # 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/S08hwclockfirst.sh -a -L /etc/rcS.d/S11hwclock.sh ]; then -- cgit v1.2.3