diff options
author | jim-p <jimp@pfsense.org> | 2011-04-08 11:20:41 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2011-04-08 11:20:41 -0400 |
commit | 54c185948cf9950c8bef29c9817633f3b9bdbef4 (patch) | |
tree | 2f85619797b58097bb1130e176c605bc0e054f99 /usr | |
parent | 2db351a746212dbf43479440e6c12fcd592ebbfa (diff) | |
download | pfsense-54c185948cf9950c8bef29c9817633f3b9bdbef4.zip pfsense-54c185948cf9950c8bef29c9817633f3b9bdbef4.tar.gz |
Don't unconditionally start ntpd after doing ntpdate, it might be disabled.
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/sbin/ntpdate_sync_once.sh | 5 |
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 |