#!/usr/local/bin/php "") { mwexec("killall -9 pfctl pfctl"); Header("Location: status_queues.php"); exit; } if (!is_array($config['shaper']['queue'])) { $config['shaper']['queue'] = array(); } $a_queues = array(); $pfctl_vsq = `/sbin/pfctl -vsq`; $pfctl_vsq_array = split("\n", $pfctl_vsq); foreach($pfctl_vsq_array as $pfctl) { if (preg_match_all("/queue\s+(\w+)\s+/",$pfctl,$match_array)) if(stristr($match_array[1][0],"root_")==false) $a_queues[] = $match_array[1][0]; } $pgtitle = "Status: Traffic shaper: Queues"; include("head.inc"); ?>
=$pgtitle?>