Revision 0b9d02f3
Added by Jim Pingle over 14 years ago
etc/inc/system.inc | ||
---|---|---|
1201 | 1201 |
exec("/usr/local/sbin/ntpd -s -f {$g['varetc_path']}/ntpd.conf"); |
1202 | 1202 |
|
1203 | 1203 |
// Note that we are starting up |
1204 |
exec("echo 'OpenNTPD is starting up' >> {$g['varlog_path']}/ntpd.log");
|
|
1204 |
log_error("OpenNTPD is starting up.");
|
|
1205 | 1205 |
|
1206 | 1206 |
} |
1207 | 1207 |
|
Also available in: Unified diff
Don't just blindly echo to the ntpd.log, it's a clog file and that will break it.