OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /v/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 30-Aug-2005 14:47:24
Branch: HEAD Handle: 2005083013472400
Modified files:
openpkg-src/ntp rc.ntp
Log:
on server start, run ntpdate with option -b as we are in a startup
situation anyway, so the clock is allowed to skip
Summary:
Revision Changes Path
1.32 +1 -1 openpkg-src/ntp/rc.ntp
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/ntp/rc.ntp
============================================================================
$ cvs diff -u -r1.31 -r1.32 rc.ntp
--- openpkg-src/ntp/rc.ntp 7 Dec 2004 19:57:35 -0000 1.31
+++ openpkg-src/ntp/rc.ntp 30 Aug 2005 12:47:24 -0000 1.32
@@ -19,7 +19,7 @@
}
ntp_once () {
[ ".$1" != . ] && sleep $1
- @l_prefix@/bin/ntpdate \
+ @l_prefix@/bin/ntpdate -b \
`grep "^server" @l_prefix@/etc/ntp/ntp.conf |\
awk '{ printf(" %s", $2); }'` || true
}
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [email protected]