From 4f335a1be02c95e183efdddd7e2d7610a0986566 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Mon, 7 Mar 2005 00:46:46 +0000 Subject: Add reset link that kills pfctl and php --- usr/local/www/firewall_shaper_queues.php | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'usr/local') diff --git a/usr/local/www/firewall_shaper_queues.php b/usr/local/www/firewall_shaper_queues.php index 2141706..15c6272 100755 --- a/usr/local/www/firewall_shaper_queues.php +++ b/usr/local/www/firewall_shaper_queues.php @@ -33,6 +33,11 @@ require("guiconfig.inc"); +if($_GET['reset'] <> "") { + mwexec("killall -9 pfctl php"); + exit; +} + if (!is_array($config['shaper']['pipe'])) { $config['shaper']['pipe'] = array(); } @@ -192,6 +197,7 @@ if ($_GET['act'] == "del") { +
Reset queues if they do not load. -- cgit v1.1