commit 29b73c27ff38806763e52c6a3a64cf87ef91c1eb
parent da3c60d3129a408c3743c24df8e2e0cc115d555e
Author: clamiax <smoppy@gmail.com>
Date: Sat, 15 Aug 2015 11:37:32 +0200
Fix a debug line
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/iwpick b/iwpick
@@ -30,7 +30,7 @@ connect() {
# sdhcp wait forever if $iface have no IP address. Workaround this.
t=$(ifconfig wlan0 |grep inet: |cut -d: -f2 |cut -d' ' -f1)
- [ -z $t ] && echo 192.168.0.2 $iface
+ [ -z $t ] && ifconfig $iface 192.168.0.2
sdhcp -d $iface >/dev/null
}