summaryrefslogtreecommitdiffstats
path: root/etc/inc/system.inc
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2013-08-16 16:54:45 -0300
committerRenato Botelho <garga@FreeBSD.org>2013-08-16 16:55:17 -0300
commit6d501aefc2598af0a48c00c5b9f85bd6d72803ce (patch)
treeb09ab20202a820bbb5d8a39c4c6b8aaf947747de /etc/inc/system.inc
parent17921b7e8dd8e1113a391ed5f570d31ab8c88154 (diff)
downloadpfsense-6d501aefc2598af0a48c00c5b9f85bd6d72803ce.zip
pfsense-6d501aefc2598af0a48c00c5b9f85bd6d72803ce.tar.gz
Use ntpdate from ports also and obsolete base one
Diffstat (limited to 'etc/inc/system.inc')
-rw-r--r--etc/inc/system.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/system.inc b/etc/inc/system.inc
index d6d6615..848cefb 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/sbin/ntpdate
+ pfSense_BUILDER_BINARIES: /usr/bin/tar /usr/local/bin/ntpd /usr/local/bin/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
@@ -1405,7 +1405,7 @@ function sync_system_time() {
/* foreach through servers and write out to ntpd.conf */
foreach (explode(' ', $config['system']['timeservers']) as $ts) {
- mwexec("/usr/sbin/ntpdate -s $ts");
+ mwexec("/usr/local/bin/ntpdate -s $ts");
}
if ($g['booting'])
OpenPOWER on IntegriCloud