diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-11-14 14:07:15 -0800 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2008-11-14 14:07:15 -0800 |
commit | 61774172bf17a57946787ee5184953c6989bd6bf (patch) | |
tree | f6a88fa48aa946a083f21577b3221eccb291dc8b /debian | |
parent | 73879d7caf89491d754a3b07b400ebc4626db80b (diff) | |
download | vyatta-cfg-quagga-61774172bf17a57946787ee5184953c6989bd6bf.tar.gz vyatta-cfg-quagga-61774172bf17a57946787ee5184953c6989bd6bf.zip |
Remove extra call to set hwclock on startup
Reading hwclock takes 1.5 seconds, and gets done twice.
Only once is needed.
Diffstat (limited to 'debian')
-rw-r--r-- | debian/vyatta-cfg-system.postinst.in | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/debian/vyatta-cfg-system.postinst.in b/debian/vyatta-cfg-system.postinst.in index dff04293..c423c6b3 100644 --- a/debian/vyatta-cfg-system.postinst.in +++ b/debian/vyatta-cfg-system.postinst.in @@ -11,6 +11,11 @@ for init in ntp ssh snmpd openhpid vyatta-keepalived ipvsadm dnsmasq ddclient; d update-rc.d -f ${init} remove >/dev/null done +# remove extra call to clock setup only need one +if [ -L /etc/rcS.d/S08hwclockfirst.sh -a /etc/rcS.d/S11hwclock.sh ]; then + rm /etc/init.d/rcS.d/S11hwclock.sh +fi + case `grep '^RULES_FILE=' /lib/udev/write_net_rules` in *z25_persistent-net.rules* ) vyatta_net_rules=z24_vyatta-net.rules;; |