this patch sets the clock to a sane value before daemonizing



--- package/network/ntp/ntpd.init    2008-12-25 01:08:42.000000000 +0100
+++ package/network/ntp/ntpd.init    2008-12-25 00:52:37.000000000 +0100
@@ -27,6 +27,7 @@
         echo "ntp daemon already running. ntp start aborted"
 IN        error=1
     else
+        check(`D_prefix/bin/ntpd -g -q -c /etc/ntp.conf')
         check(`D_prefix/bin/ntpd -c /etc/ntp.conf')
     fi
     block_end



----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[email protected] with a subject of: unsubscribe t2

Reply via email to