]> git.llucax.com Git - software/wpe.git/commitdiff
Add full path to iwconfig call.
authorLeandro Lucarella <luca@llucax.com.ar>
Wed, 3 May 2006 18:38:40 +0000 (18:38 +0000)
committerLeandro Lucarella <luca@llucax.com.ar>
Wed, 3 May 2006 18:38:40 +0000 (18:38 +0000)
rotate-key

index e116e1b0cbc63a8c5f38c29bc1104d71aae3b3fc..e834ae84d19c4e0f453a69c58ec1035addbe5635 100644 (file)
@@ -43,7 +43,8 @@ export LANG=C
 # Check if they are using our essid
 if [ -n "$ESSID" ]
 then
-  curr_essid=`iwconfig $IFACE | grep ESSID | sed 's/.*ESSID:"\([^"]\+\)".*/\1/'`
+  curr_essid=`/sbin/iwconfig $IFACE | grep ESSID \
+      | sed 's/.*ESSID:"\([^"]\+\)".*/\1/'`
   if [ "$curr_essid" != "$ESSID" ]
   then
     exit 0