diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-05-22 10:11:38 -0700 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-05-22 10:11:38 -0700 |
commit | a999d5dedfc4b5cf1fed6e5bf4819cb0d9db85bb (patch) | |
tree | 953649ebea208718c84674ac57c66cae9625f408 | |
parent | 5f836abba30318aa8088037744ed3e2398a39b6c (diff) | |
download | vyatta-cfg-quagga-a999d5dedfc4b5cf1fed6e5bf4819cb0d9db85bb.tar.gz vyatta-cfg-quagga-a999d5dedfc4b5cf1fed6e5bf4819cb0d9db85bb.zip |
Run ntp during boot
Go back to running ntp during boot because ntp.conf always exists
-rw-r--r-- | debian/vyatta-cfg-system.postinst.in | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/debian/vyatta-cfg-system.postinst.in b/debian/vyatta-cfg-system.postinst.in index b49576d9..ffea6e93 100644 --- a/debian/vyatta-cfg-system.postinst.in +++ b/debian/vyatta-cfg-system.postinst.in @@ -7,10 +7,13 @@ bindir=@bindir@ sbindir=@sbindir@ # remove init of daemons that we start/stop -for init in ntp ssh snmpd openhpid vyatta-keepalived ipvsadm dnsmasq ddclient; do +for init in 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 |