diff options
Diffstat (limited to 'usr/local/www/diag_logs_relayd.php')
-rwxr-xr-x | usr/local/www/diag_logs_relayd.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/usr/local/www/diag_logs_relayd.php b/usr/local/www/diag_logs_relayd.php index f29246d..5bb6c51 100755 --- a/usr/local/www/diag_logs_relayd.php +++ b/usr/local/www/diag_logs_relayd.php @@ -51,6 +51,7 @@ if ($_POST['clear']) { touch($relayd_logfile); } else { exec("killall syslogd"); + sleep(1); if(file_exists("{$relayd_logfile}")) unlink("{$relayd_logfile}"); exec("/usr/sbin/fifolog_create -s 511488 {$relayd_logfile}"); |