[pisa-src] r1519 - trunk/openwrt/package/pisa/files/pisabeacon.init

  • From: Tobias Heer <tobias.heer@xxxxxxxxxxxxxxxxx>
  • To: pisa-src@xxxxxxxxxxxxx
  • Date: Wed, 04 Nov 2009 17:10:56 +0100

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)

Other related posts:

  • » [pisa-src] r1519 - trunk/openwrt/package/pisa/files/pisabeacon.init - Tobias Heer