aboutsummaryrefslogtreecommitdiff
path: root/netcfg
diff options
context:
space:
mode:
authorJudd Vinet <judd@archlinux.org>2005-12-01 21:04:15 +0000
committerJudd Vinet <judd@archlinux.org>2005-12-01 21:04:15 +0000
commit7e18ec8806c28d52c771cacda045aa3bd81ba0b2 (patch)
treec648c6a106b994e89f85383a79865760224fc2c2 /netcfg
parent78365fe57d61645c1b8282784d863a0cd8537eb5 (diff)
downloadinitscripts-7e18ec8806c28d52c771cacda045aa3bd81ba0b2.tar.xz
fixed wpa_cli path in netcfg
Diffstat (limited to 'netcfg')
-rwxr-xr-xnetcfg2
1 files changed, 1 insertions, 1 deletions
diff --git a/netcfg b/netcfg
index 3140c30..25451c6 100755
--- a/netcfg
+++ b/netcfg
@@ -114,7 +114,7 @@ start_profile()
# I donīt know how we could determine if wpa_supplicant is ready...
sleep 2
let i=0
- while ! /usr/bin/wpa_cli status | grep "wpa_state=COMPLETED" >/dev/null 2>&1; do
+ while ! wpa_cli status | grep "wpa_state=COMPLETED" >/dev/null 2>&1; do
if [ $i -gt 10 ]; then
wpa_cli terminate >/dev/null 2>&1
ifconfig $WIFI_INTERFACE down