diff options
Diffstat (limited to 'usr/local/www/diag_logs_vpn.php')
-rwxr-xr-x | usr/local/www/diag_logs_vpn.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/usr/local/www/diag_logs_vpn.php b/usr/local/www/diag_logs_vpn.php index 1a552bd..3fccad3 100755 --- a/usr/local/www/diag_logs_vpn.php +++ b/usr/local/www/diag_logs_vpn.php @@ -50,6 +50,7 @@ if ($_POST['clear']) { touch("/var/log/vpn.log"); } else { exec("killall syslogd"); + sleep(1); if(file_exists("/var/log/vpn.log")) unlink("/var/log/vpn.log"); exec("/usr/sbin/fifolog_create -s 50688 /var/log/vpn.log"); |