Author: heer Date: Wed Nov 4 17:10:56 2009 New Revision: 1519 Log: Corrected wrong interface name in beacon init script Modified: trunk/openwrt/package/pisa/files/pisabeacon.init Modified: trunk/openwrt/package/pisa/files/pisabeacon.init ============================================================================== --- trunk/openwrt/package/pisa/files/pisabeacon.init Wed Nov 4 17:10:33 2009 (r1518) +++ trunk/openwrt/package/pisa/files/pisabeacon.init Wed Nov 4 17:10:56 2009 (r1519) @@ -5,7 +5,7 @@ START=66 STOP=66 -NET=$(ifconfig | grep eth1 -A 1 | grep 'inet addr' | cut -c 21- | +NET=$(ifconfig | grep wlan0 -A 1 | grep 'inet addr' | cut -c 21- | awk '{print $1}' | cut -d. -f 1-3) GEOID=$(ifconfig | grep eth1 -A 1 | grep 'inet addr' | cut -c 21- | awk '{print $1}' | cut -d. -f 4)