Revision cd11a142
Added by Jim Pingle over 14 years ago
etc/inc/system.inc | ||
---|---|---|
1192 | 1192 |
if(!is_dir("/var/empty")) |
1193 | 1193 |
exec("/bin/mkdir -p /var/empty && chmod ug+rw /var/empty/."); |
1194 | 1194 |
|
1195 |
if ($g['booting']) |
|
1196 |
return; |
|
1197 |
|
|
1198 | 1195 |
/* start opentpd, set time now and use /var/etc/ntpd.conf */ |
1199 | 1196 |
exec("/usr/local/sbin/ntpd -s -f {$g['varetc_path']}/ntpd.conf"); |
1200 | 1197 |
|
Also available in: Unified diff
Drop the ntpdate sync in favor of using ntpd -s, which should have the same net effect without needing the shell script that has been prone to hanging.