summaryrefslogtreecommitdiffstats
path: root/usr/local
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2014-01-15 12:28:06 -0500
committerjim-p <jimp@pfsense.org>2014-01-15 12:28:06 -0500
commit3d54553b87b919c5255d621382fedf6d042be4cb (patch)
tree3866ff6a48096a96730a2dbf6cbc8cc56f56394d /usr/local
parentd2dd579401b76c937274753939eca2788dae4aca (diff)
downloadpfsense-3d54553b87b919c5255d621382fedf6d042be4cb.zip
pfsense-3d54553b87b919c5255d621382fedf6d042be4cb.tar.gz
ports ntp moved to sbin, follow
Diffstat (limited to 'usr/local')
-rwxr-xr-xusr/local/sbin/ntpdate_sync_once.sh2
-rw-r--r--usr/local/www/status_ntpd.php6
2 files changed, 4 insertions, 4 deletions
diff --git a/usr/local/sbin/ntpdate_sync_once.sh b/usr/local/sbin/ntpdate_sync_once.sh
index ac9a16f..8405a38 100755
--- a/usr/local/sbin/ntpdate_sync_once.sh
+++ b/usr/local/sbin/ntpdate_sync_once.sh
@@ -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 \ No newline at end of file
diff --git a/usr/local/www/status_ntpd.php b/usr/local/www/status_ntpd.php
index 30cf18e..f7292c7 100644
--- a/usr/local/www/status_ntpd.php
+++ b/usr/local/www/status_ntpd.php
@@ -29,7 +29,7 @@
POSSIBILITY OF SUCH DAMAGE.
*/
/*
- pfSense_BUILDER_BINARIES: /usr/local/bin/ntpd /usr/local/bin/ntpq
+ pfSense_BUILDER_BINARIES: /usr/local/sbin/ntpd /usr/local/sbin/ntpq
pfSense_MODULE: ntpd
*/
@@ -42,7 +42,7 @@
require_once("guiconfig.inc");
-exec("/usr/local/bin/ntpq -pn | /usr/bin/tail +3", $ntpq_output);
+exec("/usr/local/sbin/ntpq -pn | /usr/bin/tail +3", $ntpq_output);
$ntpq_servers = array();
foreach ($ntpq_output as $line) {
@@ -92,7 +92,7 @@ foreach ($ntpq_output as $line) {
$ntpq_servers[] = $server;
}
-exec("/usr/local/bin/ntpq -c clockvar", $ntpq_clockvar_output);
+exec("/usr/local/sbin/ntpq -c clockvar", $ntpq_clockvar_output);
foreach ($ntpq_clockvar_output as $line) {
if (substr($line, 0, 9) == "timecode=") {
$tmp = explode('"', $line);
OpenPOWER on IntegriCloud