added channel bandwidth

This commit is contained in:
Darryl Quinn 2015-07-21 12:19:41 -05:00
parent 9aec7e019b
commit 912afe3713
1 changed files with 5 additions and 0 deletions

View File

@ -84,6 +84,11 @@ $myssid = $1;
$myssid =~ /(.*)-(5|10|20)-v[3456]/;
$info{"ssid"}=$myssid;
# ------- Wifi Bandwidth
$line = `uci get wireless.radio0.chanbw`;
chomp($line);
$info{"chanbw"}=$line;
# ------- ACTIVE TUNNELS
$active_tunnel_count=`ifconfig|grep tun|wc -l`;
chomp($active_tunnel_count);