OpenPKG CVS Repository http://cvs.openpkg.org/ ____________________________________________________________________________
Server: cvs.openpkg.org Name: Christoph Schug Root: /e/openpkg/cvs Email: [EMAIL PROTECTED] Module: openpkg-src Date: 07-Aug-2003 16:45:16 Branch: HEAD Handle: 2003080715451500 Modified files: openpkg-src/ntp rc.ntp Log: sleep *before* ntpdate sync Summary: Revision Changes Path 1.23 +5 -5 openpkg-src/ntp/rc.ntp ____________________________________________________________________________ patch -p0 <<'@@ .' Index: openpkg-src/ntp/rc.ntp ============================================================================ $ cvs diff -u -r1.22 -r1.23 rc.ntp --- openpkg-src/ntp/rc.ntp 7 Aug 2003 14:37:28 -0000 1.22 +++ openpkg-src/ntp/rc.ntp 7 Aug 2003 14:45:15 -0000 1.23 @@ -71,15 +71,15 @@ %quarterly -u @l_susr@ rcService ntp enable yes || exit 0 - if [ ".$ntp_mode" = ".quarterly" ] && ntp_once && sleep 30 + if [ ".$ntp_mode" = ".quarterly" ] && sleep 30 && ntp_once %hourly -u @l_susr@ rcService ntp enable yes || exit 0 - if [ ".$ntp_mode" = ".hourly" ] && ntp_once && sleep 30 + if [ ".$ntp_mode" = ".hourly" ] && sleep 30 && ntp_once %daily -u @l_susr@ rcService ntp enable yes || exit 0 - if [ ".$ntp_mode" = ".daily" ] && ntp_once && sleep 30 + if [ ".$ntp_mode" = ".daily" ] && sleep 30 && ntp_once # rotate logfile shtool rotate -f \ @@ -91,9 +91,9 @@ %weekly -u @l_susr@ rcService ntp enable yes || exit 0 - if [ ".$ntp_mode" = ".weekly" ] && ntp_once && sleep 30 + if [ ".$ntp_mode" = ".weekly" ] && sleep 30 && ntp_once %monthly -u @l_susr@ rcService ntp enable yes || exit 0 - if [ ".$ntp_mode" = ".monthly" ] && ntp_once && sleep 30 + if [ ".$ntp_mode" = ".monthly" ] && sleep 30 && ntp_once @@ . ______________________________________________________________________ The OpenPKG Project www.openpkg.org CVS Repository Commit List [EMAIL PROTECTED]