summaryrefslogtreecommitdiffstats
path: root/usr/local/www/diag_logs_auth.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@sullrich-MacBookPro.local>2009-03-18 20:19:20 -0400
committerScott Ullrich <sullrich@sullrich-MacBookPro.local>2009-03-18 20:19:20 -0400
commitc676893ce877881251a520d6b43a3d2c29b93ea3 (patch)
treea95907ba484f8ce3d872ab0d3b92adcb0eaf6464 /usr/local/www/diag_logs_auth.php
parent77518fbf3d033cb713512c4770f9f35696a88934 (diff)
downloadpfsense-c676893ce877881251a520d6b43a3d2c29b93ea3.zip
pfsense-c676893ce877881251a520d6b43a3d2c29b93ea3.tar.gz
Echo out data to start of log files
Diffstat (limited to 'usr/local/www/diag_logs_auth.php')
-rwxr-xr-xusr/local/www/diag_logs_auth.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr/local/www/diag_logs_auth.php b/usr/local/www/diag_logs_auth.php
index c8b899b..a494411 100755
--- a/usr/local/www/diag_logs_auth.php
+++ b/usr/local/www/diag_logs_auth.php
@@ -54,6 +54,7 @@ if ($_POST['clear']) {
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}");
}
}
OpenPOWER on IntegriCloud