From: Florian Fainelli Date: Mon, 21 Feb 2011 09:35:36 +0000 (+0000) Subject: add a default network config file, patch from Wipster X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=3d217da60be837026f3af237bac84e2fdda5c57c;p=openwrt%2Fstaging%2Fwigyori.git add a default network config file, patch from Wipster SVN-Revision: 25647 --- diff --git a/target/linux/ar7/base-files/etc/uci-defaults/network b/target/linux/ar7/base-files/etc/uci-defaults/network new file mode 100644 index 0000000000..2d35c56b14 --- /dev/null +++ b/target/linux/ar7/base-files/etc/uci-defaults/network @@ -0,0 +1,30 @@ +#!/bin/sh +if [ -e "/sys/bus/mdio_bus/drivers/IC+ IP175A/1:00" -o \ + -e "/sys/bus/mdio_bus/drivers/IC+ IP17xx/1:00" ] && \ + [ -x /sbin/swconfig ]; +then + uci batch <