Commit cd06a9b9 authored by Franco Fichtner's avatar Franco Fichtner

status: ipfw -x does not exist anymore

parent d7850392
......@@ -120,11 +120,8 @@ defCmdT("top | head -n5", "/usr/bin/top | /usr/bin/head -n5");
defCmdT("sysctl hw.physmem","/sbin/sysctl hw.physmem");
if (isset($config['captiveportal']) && is_array($config['captiveportal'])) {
foreach ($config['captiveportal'] as $cpZone => $cpdata) {
if (isset($cpdata['enable']))
defCmdT("ipfw -x {$cpdata['zoneid']} show", "/sbin/ipfw -x {$cpdata['zoneid']} show");
}
if (isset($config['captiveportal'])) {
defCmdT("ipfw show", "/sbin/ipfw show");
}
defCmdT("pfctl -sn", "/sbin/pfctl -sn");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment