diff options
author | jim-p <jimp@pfsense.org> | 2011-04-08 11:20:25 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2011-04-08 11:20:25 -0400 |
commit | 2db351a746212dbf43479440e6c12fcd592ebbfa (patch) | |
tree | c3fafb09754192bb40daba092ca1f14c53f54943 | |
parent | fbfd675a532a85858530d9ad7bdd63d563189bec (diff) | |
download | pfsense-2db351a746212dbf43479440e6c12fcd592ebbfa.zip pfsense-2db351a746212dbf43479440e6c12fcd592ebbfa.tar.gz |
Send ntpdate output to syslog
-rwxr-xr-x | usr/local/sbin/ntpdate_sync_once.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/sbin/ntpdate_sync_once.sh b/usr/local/sbin/ntpdate_sync_once.sh index 508ce3e..3983578 100755 --- a/usr/local/sbin/ntpdate_sync_once.sh +++ b/usr/local/sbin/ntpdate_sync_once.sh @@ -4,7 +4,7 @@ NOTSYNCED="true" SERVER=`cat /cf/conf/config.xml | grep timeservers | cut -d">" -f2 | cut -d"<" -f1` while [ "$NOTSYNCED" = "true" ]; do - ntpdate $SERVER + ntpdate -s $SERVER if [ "$?" = "0" ]; then NOTSYNCED="false" fi |