7 [ "$(cat /sys/class/net/w*/operstate)" = 'down' ] && wifiicon
="$wifi_down"
8 [ ! -n "${wifiicon+var}" ] && wifiicon
=$
(grep "^\s*w" /proc
/net
/wireless |
awk '{ print "" }')
10 printf "%s %s" "$wifiicon" "$(cat /sys/class/net/e*/operstate | sed "s
/down
/$eth_down/;s
/up
/$eth_up/")"