diff options
author | nagyrobi <robreg@zsurob.hu> | 2014-02-18 16:06:07 +0100 |
---|---|---|
committer | nagyrobi <robreg@zsurob.hu> | 2014-02-18 16:06:07 +0100 |
commit | 0fd64e94fa5da525dc78e9bff1ee3d321b9937ed (patch) | |
tree | 67f14ade79c41a79006b7729745783804cdf8eae /etc/inc/system.inc | |
parent | 142f7393a81927830ff462e42e116378c590c329 (diff) | |
download | pfsense-0fd64e94fa5da525dc78e9bff1ee3d321b9937ed.zip pfsense-0fd64e94fa5da525dc78e9bff1ee3d321b9937ed.tar.gz |
Update system.inc
Corrections made as requested
Diffstat (limited to 'etc/inc/system.inc')
-rw-r--r-- | etc/inc/system.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/system.inc b/etc/inc/system.inc index 4017b42..390f63a 100644 --- a/etc/inc/system.inc +++ b/etc/inc/system.inc @@ -1645,10 +1645,10 @@ function system_ntp_configure($start_ntpd=true) { /* if /var/empty does not exist, create it */ if(!is_dir("/var/empty")) - exec("/bin/mkdir -p /var/empty && chmod ug+rw /var/empty/."); + mkdir("/var/empty", 0775, true); /* 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."); |