MISC_LUA did not work at all for me - I assume that the format is different on boxes that only have 2,4 GHz. in the output on my box, "LAN" is uppercase and there is no "desc", only "type":"WLAN - 2,4 GHz"
fixed it for myself with an additional
totalConnectionsWLAN2G=$(grep -io '"type":"wlan - 2' <<< $overview | wc -l)
(but I don't know if "type":"wlan - (...)" is present on boxes with 5ghz)
and an exta -i in grep here
totalConnectionsLAN=$(echo $overview | grep -iow '"type":"lan"' | wc -l)
also, is it just me or is MISC_LUA very, very slow? at least on my box, it takes up to 30 seconds or so.
MISC_LUA did not work at all for me - I assume that the format is different on boxes that only have 2,4 GHz. in the output on my box, "LAN" is uppercase and there is no "desc", only "type":"WLAN - 2,4 GHz"
fixed it for myself with an additional
totalConnectionsWLAN2G=$(grep -io '"type":"wlan - 2' <<< $overview | wc -l)
(but I don't know if "type":"wlan - (...)" is present on boxes with 5ghz)and an exta -i in grep here
totalConnectionsLAN=$(echo $overview | grep -iow '"type":"lan"' | wc -l)
also, is it just me or is MISC_LUA very, very slow? at least on my box, it takes up to 30 seconds or so.