From: florian Date: Mon, 21 Feb 2011 09:35:36 +0000 (+0000) Subject: [ar7] add a default network config file, patch from Wipster X-Git-Url: https://git.rohieb.name/openwrt.git/commitdiff_plain/a4ccee486699e3ec2075b18929d1ba901c0c2f56 [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 --- 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 000000000..2d35c56b1 --- /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 <