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 /etc/inc/system.inc | |
parent | 096f73b430a9af9086f45bad29abba5602a6036b (diff) | |
download | pfsense-fdfa8f43eded441107fd8b1fbc0b03de22bf558c.zip pfsense-fdfa8f43eded441107fd8b1fbc0b03de22bf558c.tar.gz |
ports ntp moved to sbin, follow
Diffstat (limited to 'etc/inc/system.inc')
-rw-r--r-- | etc/inc/system.inc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/inc/system.inc b/etc/inc/system.inc index 741ae71..4358f5c 100644 --- a/etc/inc/system.inc +++ b/etc/inc/system.inc @@ -33,7 +33,7 @@ pfSense_BUILDER_BINARIES: /usr/sbin/powerd /usr/bin/killall /sbin/sysctl /sbin/route pfSense_BUILDER_BINARIES: /bin/hostname /bin/ls /usr/sbin/syslogd pfSense_BUILDER_BINARIES: /usr/sbin/pccardd /usr/local/sbin/lighttpd /bin/chmod /bin/mkdir - pfSense_BUILDER_BINARIES: /usr/bin/tar /usr/local/bin/ntpd /usr/local/bin/ntpdate + pfSense_BUILDER_BINARIES: /usr/bin/tar /usr/local/sbin/ntpd /usr/local/sbin/ntpdate pfSense_BUILDER_BINARIES: /usr/bin/nohup /sbin/dmesg /usr/local/sbin/atareinit /sbin/kldload pfSense_BUILDER_BINARIES: /usr/local/sbin/filterdns pfSense_MODULE: utils @@ -1430,7 +1430,7 @@ function system_ntp_configure($start_ntpd=true) { exec("/bin/mkdir -p /var/empty && chmod ug+rw /var/empty/."); /* start opentpd, set time now and use /var/etc/ntpd.conf */ - mwexec("/usr/local/bin/ntpd -g -c {$g['varetc_path']}/ntpd.conf -p {$g['varrun_path']}/ntpd.pid", false, true); + mwexec("/usr/local/sbin/ntpd -g -c {$g['varetc_path']}/ntpd.conf -p {$g['varrun_path']}/ntpd.pid", false, true); // Note that we are starting up log_error("NTPD is starting up."); @@ -1445,7 +1445,7 @@ function sync_system_time() { /* foreach through servers and write out to ntpd.conf */ foreach (explode(' ', $config['system']['timeservers']) as $ts) { - mwexec("/usr/local/bin/ntpdate -s $ts"); + mwexec("/usr/local/sbin/ntpdate -s $ts"); } if ($g['booting']) |