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

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

Author: heer
Date: Wed Nov  4 17:16:53 2009
New Revision: 1520

Log:
Corrected wrong interface name again. wifi0 has no IP address. It is assigned 
to br-lanwq

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:56 
2009        (r1519)
+++ trunk/openwrt/package/pisa/files/pisabeacon.init    Wed Nov  4 17:16:53 
2009        (r1520)
@@ -5,7 +5,7 @@
 START=66
 STOP=66
 
-NET=$(ifconfig | grep wlan0 -A 1 | grep 'inet addr' | cut -c 21- |
+NET=$(ifconfig | grep br-lan -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] r1520 - trunk/openwrt/package/pisa/files/pisabeacon.init - Tobias Heer