summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2008-11-14 14:07:15 -0800
committerStephen Hemminger <stephen.hemminger@vyatta.com>2008-11-14 14:07:15 -0800
commit61774172bf17a57946787ee5184953c6989bd6bf (patch)
treef6a88fa48aa946a083f21577b3221eccb291dc8b /debian
parent73879d7caf89491d754a3b07b400ebc4626db80b (diff)
downloadvyatta-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.in5
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;;