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.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/usr/local/www/diag_logs_dhcp.php b/usr/local/www/diag_logs_dhcp.php
index 7e9003e..cdca3a2 100755
--- a/usr/local/www/diag_logs_dhcp.php
+++ b/usr/local/www/diag_logs_dhcp.php
@@ -51,12 +51,12 @@ if ($_POST['clear']) {
unlink($dhcpd_logfile);
touch($dhcpd_logfile);
} else {
- exec("killall syslogd");
- sleep(1);
- if(file_exists("{$dhcpd_logfile}"))
- unlink("{$dhcpd_logfile}");
+// exec("killall syslogd");
+// sleep(1);
+// 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}");
+ exec("/usr/bin/killall -HUP syslogd");
}
}
OpenPOWER on IntegriCloud