Project

General

Profile

« Previous | Next » 

Revision be5408eb

Added by Jim Pingle about 7 years ago

Add switch config to status output. Implements #8525

(cherry picked from commit 03ce110725129b5f35c62f4985f631a1e3b5d046)

View differences:

src/usr/local/www/status.php
266 266
defCmdT("Network-NDP Table", "/usr/sbin/ndp -na");
267 267
defCmdT("OS-Kernel VMStat", "/usr/bin/vmstat -afimsz");
268 268

  
269
/* If a device has a switch, put the switch configuration in the status output */
270
if (file_exists("/dev/etherswitch0")) {
271
	defCmdT("Network-Switch Configuration", "/sbin/etherswitchcfg -f /dev/etherswitch0 info");
272
}
273

  
269 274
/* Firewall rules and info */
270 275
defCmdT("Firewall-Generated Ruleset", "/bin/cat {$g['tmp_path']}/rules.debug");
271 276
defCmdT("Firewall-Generated Ruleset Limiters", "/bin/cat {$g['tmp_path']}/rules.limiter");

Also available in: Unified diff