From a4ccee486699e3ec2075b18929d1ba901c0c2f56 Mon Sep 17 00:00:00 2001 From: florian Date: Mon, 21 Feb 2011 09:35:36 +0000 Subject: [ar7] add a default network config file, patch from Wipster git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25647 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../linux/ar7/base-files/etc/uci-defaults/network | 30 ++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 target/linux/ar7/base-files/etc/uci-defaults/network (limited to 'target/linux') 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 <