diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2005-03-07 00:46:46 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2005-03-07 00:46:46 +0000 |
commit | 4f335a1be02c95e183efdddd7e2d7610a0986566 (patch) | |
tree | a840881b90f9ff2b6eceeeaaf26a49619f64b923 /usr | |
parent | efc110cfb7c2fc4f65a12bc78d14b16d3449ad3e (diff) | |
download | pfsense-4f335a1be02c95e183efdddd7e2d7610a0986566.zip pfsense-4f335a1be02c95e183efdddd7e2d7610a0986566.tar.gz |
Add reset link that kills pfctl and php
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/www/firewall_shaper_queues.php | 6 |
1 files changed, 6 insertions, 0 deletions
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") { </tr> </table> </form> +<br><a href="firewall_shaper_queues.php?reset=true">Reset</a> queues if they do not load. <?php include("fend.inc"); ?> </body> </html> |