diff options
-rwxr-xr-x | usr/local/www/status_queues.php | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/usr/local/www/status_queues.php b/usr/local/www/status_queues.php index 880aec1..dbac8f4 100755 --- a/usr/local/www/status_queues.php +++ b/usr/local/www/status_queues.php @@ -51,7 +51,7 @@ foreach($pfctl_vsq_array as $pfctl) { $a_queues[] = $match_array[1][0]; } -$pgtitle = "Status: Traffic shaper: Queues"; +$pgtitle = "Status: Traffic Shaper: Queues"; include("head.inc"); ?> @@ -136,7 +136,7 @@ While(!Connection_Aborted()) { $i = 0; foreach($stats_array as $stats_line) { if($stat_line_split[2] == "" and $counter > 1) { - mwexec("/usr/bin/killall -9 pfctl php"); + mwexec("/usr/bin/killall pfctl php"); exit; } @@ -173,13 +173,11 @@ While(!Connection_Aborted()) { if($counter > 40) { echo "Redirecting to <a href=\"status_queues.php\">Queue Status</a>.<p>"; echo "<meta http-equiv=\"refresh\" content=\"1;url={$_SERVER['PHP_SELF']}\">"; - mwexec("/usr/bin/killall -9 pfctl"); - mwexec("/usr/bin/killall -9 pfctl php"); + mwexec("/usr/bin/killall pfctl"); exit; } } -mwexec("/usr/bin/killall -9 pfctl pfctl"); -mwexec("/usr/bin/killall -9 pfctl php"); +mwexec("/usr/bin/killall pfctl"); ?> |