|
2010-05-28
, 09:35
|
|
Posts: 286 |
Thanked: 219 times |
Joined on Feb 2010
@ France
|
#2
|
[[ -n `cat /proc/net/route | grep wlan0` ]] && gpo update && gpo download
The Following User Says Thank You to calvin_42 For This Useful Post: | ||
|
2010-05-31
, 09:52
|
Posts: 18 |
Thanked: 0 times |
Joined on Jan 2010
|
#3
|
should work pretty good.Code:[[ -n `cat /proc/net/route | grep wlan0` ]] && gpo update && gpo download
test=`cat /proc/net/route | grep wlan0` [[ -n "$test" ]] && gpo update && gpo download
I already found out that i can do this with
thx!