#!/bin/sh
+# Copyleft 2006 - Leandro Lucarella <luca at llucax.com.ar>
+# This script is under the BOLA license, please see the LICENSE file.
+
# Must edit
###########
# Wireless interface
# 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