summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2011-04-08 11:20:41 -0400
committerjim-p <jimp@pfsense.org>2011-04-08 11:20:41 -0400
commit54c185948cf9950c8bef29c9817633f3b9bdbef4 (patch)
tree2f85619797b58097bb1130e176c605bc0e054f99 /usr
parent2db351a746212dbf43479440e6c12fcd592ebbfa (diff)
downloadpfsense-54c185948cf9950c8bef29c9817633f3b9bdbef4.zip
pfsense-54c185948cf9950c8bef29c9817633f3b9bdbef4.tar.gz
Don't unconditionally start ntpd after doing ntpdate, it might be disabled.
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/sbin/ntpdate_sync_once.sh5
1 files changed, 0 insertions, 5 deletions
diff --git a/usr/local/sbin/ntpdate_sync_once.sh b/usr/local/sbin/ntpdate_sync_once.sh
index 3983578..d2dc37b 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
OpenPOWER on IntegriCloud