From 17971e5fbd22725d9cc9ba889ff49fd1b8ee9de1 Mon Sep 17 00:00:00 2001 From: Leandro Lucarella Date: Wed, 3 May 2006 18:38:40 +0000 Subject: [PATCH] Add full path to iwconfig call. --- rotate-key | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.43.0