Revision 9281c9c6
Added by Jim Pingle over 13 years ago
etc/inc/system.inc | ||
---|---|---|
1161 | 1161 |
exec("/bin/mkdir -p /var/empty && chmod ug+rw /var/empty/."); |
1162 | 1162 |
|
1163 | 1163 |
/* start opentpd, set time now and use /var/etc/ntpd.conf */ |
1164 |
exec("/usr/local/sbin/ntpd -s -f {$g['varetc_path']}/ntpd.conf");
|
|
1164 |
mwexec_bg("/usr/local/sbin/ntpd -s -f {$g['varetc_path']}/ntpd.conf");
|
|
1165 | 1165 |
|
1166 | 1166 |
// Note that we are starting up |
1167 | 1167 |
log_error("OpenNTPD is starting up."); |
Also available in: Unified diff
Start ntpd in the background since we don't need to care about its return data. Speeds up GUI with broken DNS.