summaryrefslogtreecommitdiffstats
path: root/usr/local/www/diag_logs_dhcp.php
diff options
context:
space:
mode:
Diffstat (limited to 'usr/local/www/diag_logs_dhcp.php')
-rwxr-xr-xusr/local/www/diag_logs_dhcp.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr/local/www/diag_logs_dhcp.php b/usr/local/www/diag_logs_dhcp.php
index a648690..7e9003e 100755
--- a/usr/local/www/diag_logs_dhcp.php
+++ b/usr/local/www/diag_logs_dhcp.php
@@ -56,6 +56,7 @@ if ($_POST['clear']) {
if(file_exists("{$dhcpd_logfile}"))
unlink("{$dhcpd_logfile}");
exec("/usr/sbin/fifolog_create -s 511488 {$dhcpd_logfile}");
+ exec("/bin/date | /usr/sbin/fifolog_writer {$dhcpd_logfile}");
}
}
OpenPOWER on IntegriCloud