diff options
Diffstat (limited to 'usr/local/www/diag_logs_ntpd.php')
-rw-r--r-- | usr/local/www/diag_logs_ntpd.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/usr/local/www/diag_logs_ntpd.php b/usr/local/www/diag_logs_ntpd.php index 3a3c041..8f2efa4 100644 --- a/usr/local/www/diag_logs_ntpd.php +++ b/usr/local/www/diag_logs_ntpd.php @@ -54,6 +54,7 @@ if ($_POST['clear']) { if(file_exists("{$ntpd_logfile}")) unlink("{$ntpd_logfile}"); exec("/usr/sbin/fifolog_create -s 511488 {$ntpd_logfile}"); + exec("/bin/date | /usr/sbin/fifolog_writer {$ntpd_logfile}"); system_syslogd_start(); } } |