View Single Post
niqbal's Avatar
Posts: 474 | Thanked: 368 times | Joined on Jan 2010
#348
need help. Using DCEW i've Internal IP script setup as

Code:
/sbin/ifconfig wlan0 | awk -F "[: ]" '/Bc/ {print $13}'
how can i set it up so when wifi is disconnected, it echoes 'disconnected' rather than 'invalid command'?