diff options
author | Scott Ullrich <sullrich@sullrich-MacBookPro.local> | 2009-03-18 22:06:47 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@sullrich-MacBookPro.local> | 2009-03-18 22:06:47 -0400 |
commit | 833eb9d680935bd27ccd49635226745ffef34609 (patch) | |
tree | 42149c343f1e52245e65f99488e61f9a5f5c31a8 /usr/local/www/diag_logs_auth.php | |
parent | 9dac9942c2978995e4721f2024b88b7ea9abb65a (diff) | |
download | pfsense-833eb9d680935bd27ccd49635226745ffef34609.zip pfsense-833eb9d680935bd27ccd49635226745ffef34609.tar.gz |
Do not restart syslkog, just hup it
Diffstat (limited to 'usr/local/www/diag_logs_auth.php')
-rwxr-xr-x | usr/local/www/diag_logs_auth.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/usr/local/www/diag_logs_auth.php b/usr/local/www/diag_logs_auth.php index a494411..2c0c7ef 100755 --- a/usr/local/www/diag_logs_auth.php +++ b/usr/local/www/diag_logs_auth.php @@ -49,12 +49,12 @@ if ($_POST['clear']) { unlink($portal_logfile); touch($portal_logfile); } else { - exec("killall syslogd"); - sleep(1); - if(file_exists("{$portal_logfile}")) - unlink("{$portal_logfile}"); +// exec("killall syslogd"); +/// sleep(1); +// if(file_exists("{$portal_logfile}")) +// unlink("{$portal_logfile}"); exec("/usr/sbin/fifolog_create -s 511488 {$portal_logfile}"); - exec("/bin/date | /usr/sbin/fifolog_writer {$portal_logfile}"); + exec("/usr/bin/killall -HUP syslogd"); } } |