diff options
author | jim-p <jimp@pfsense.org> | 2014-01-15 12:35:50 -0500 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2014-01-15 12:35:50 -0500 |
commit | fdfa8f43eded441107fd8b1fbc0b03de22bf558c (patch) | |
tree | 369aab9eb479aa1aa01650c8f15c743bb1873023 /usr/local/sbin | |
parent | 096f73b430a9af9086f45bad29abba5602a6036b (diff) | |
download | pfsense-fdfa8f43eded441107fd8b1fbc0b03de22bf558c.zip pfsense-fdfa8f43eded441107fd8b1fbc0b03de22bf558c.tar.gz |
ports ntp moved to sbin, follow
Diffstat (limited to 'usr/local/sbin')
-rwxr-xr-x | usr/local/sbin/ntpdate_sync_once.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/sbin/ntpdate_sync_once.sh b/usr/local/sbin/ntpdate_sync_once.sh index 4ba46aa..c183b79 100755 --- a/usr/local/sbin/ntpdate_sync_once.sh +++ b/usr/local/sbin/ntpdate_sync_once.sh @@ -23,7 +23,7 @@ while [ "$NOTSYNCED" = "true" ] && [ ${ATTEMPT} -le ${MAX_ATTEMPTS} ]; do fi done sleep 1 - /usr/local/bin/ntpdate -s -t 5 ${SERVER} + /usr/local/sbin/ntpdate -s -t 5 ${SERVER} if [ "$?" = "0" ]; then NOTSYNCED="false" else @@ -40,7 +40,7 @@ fi if [ -f /var/etc/ntpd.conf ]; then echo "Starting NTP Daemon." | /usr/bin/logger -t ntp; - /usr/local/bin/ntpd -g -c /var/etc/ntpd.conf -p /var/run/ntpd.pid + /usr/local/sbin/ntpd -g -c /var/etc/ntpd.conf -p /var/run/ntpd.pid else echo "NTP configuration file missing, not starting daemon." | /usr/bin/logger -t ntp; fi |