[pisa-src] r2569 - trunk/openwrt/router-configurations/pisa-testbed/etc/rc.local

  • From: Samuel Richter <samuel.richter@xxxxxxxxxxxxxx>
  • To: pisa-src@xxxxxxxxxxxxx
  • Date: Mon, 16 May 2011 16:22:28 +0200

Author: richter
Date: Mon May 16 16:22:28 2011
New Revision: 2569

Log:
remove the x-wrt repository on the routers if it's there

the routers have no access to the repository so 'opkg update' takes long for
the x-wrt repo to timeout.
this is a workaround until there is a nicer solution.

Modified:
   trunk/openwrt/router-configurations/pisa-testbed/etc/rc.local

Modified: trunk/openwrt/router-configurations/pisa-testbed/etc/rc.local
==============================================================================
--- trunk/openwrt/router-configurations/pisa-testbed/etc/rc.local       Mon May 
 9 15:05:23 2011        (r2568)
+++ trunk/openwrt/router-configurations/pisa-testbed/etc/rc.local       Mon May 
16 16:22:28 2011        (r2569)
@@ -4,4 +4,5 @@
 depmod -a
 /sbin/ifconfig br-lan promisc
 grep -q macaddr /etc/config/wireless || sed -i "/channel/ a\ $(wifi detect | 
grep macaddr)" /etc/config/wireless ; wifi
+[ -f /etc/opkg/xwrt.conf ] && rm /etc/opkg/xwrt.conf
 exit 0
-- 
This is the pisa developer mailing list. Please also subscribe to the main pisa 
list at:
//www.freelists.org/list/pisa

Other related posts:

  • » [pisa-src] r2569 - trunk/openwrt/router-configurations/pisa-testbed/etc/rc.local - Samuel Richter