From: Leandro Lucarella Date: Wed, 3 May 2006 18:38:40 +0000 (+0000) Subject: Add full path to iwconfig call. X-Git-Tag: darcs_import~3 X-Git-Url: https://git.llucax.com/software/wpe.git/commitdiff_plain/17971e5fbd22725d9cc9ba889ff49fd1b8ee9de1 Add full path to iwconfig call. --- diff --git a/rotate-key b/rotate-key index e116e1b..e834ae8 100644 --- a/rotate-key +++ b/rotate-key @@ -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