summaryrefslogtreecommitdiffstats
path: root/usr/local/sbin
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2014-01-15 12:35:50 -0500
committerjim-p <jimp@pfsense.org>2014-01-15 12:35:50 -0500
commitfdfa8f43eded441107fd8b1fbc0b03de22bf558c (patch)
tree369aab9eb479aa1aa01650c8f15c743bb1873023 /usr/local/sbin
parent096f73b430a9af9086f45bad29abba5602a6036b (diff)
downloadpfsense-fdfa8f43eded441107fd8b1fbc0b03de22bf558c.zip
pfsense-fdfa8f43eded441107fd8b1fbc0b03de22bf558c.tar.gz
ports ntp moved to sbin, follow
Diffstat (limited to 'usr/local/sbin')
-rwxr-xr-xusr/local/sbin/ntpdate_sync_once.sh4
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
OpenPOWER on IntegriCloud