From 54c185948cf9950c8bef29c9817633f3b9bdbef4 Mon Sep 17 00:00:00 2001 From: jim-p Date: Fri, 8 Apr 2011 11:20:41 -0400 Subject: [PATCH] Don't unconditionally start ntpd after doing ntpdate, it might be disabled. --- usr/local/sbin/ntpdate_sync_once.sh | 5 ----- 1 file changed, 5 deletions(-) diff --git a/usr/local/sbin/ntpdate_sync_once.sh b/usr/local/sbin/ntpdate_sync_once.sh index 3983578aaa..d2dc37b78b 100755 --- a/usr/local/sbin/ntpdate_sync_once.sh +++ b/usr/local/sbin/ntpdate_sync_once.sh @@ -10,8 +10,3 @@ while [ "$NOTSYNCED" = "true" ]; do fi sleep 5 done - -# Launch -- we have net. -killall ntpd 2>/dev/null -sleep 1 -/usr/local/sbin/ntpd -s -f /var/etc/ntpd.conf