From: Felix Fietkau Date: Mon, 24 Aug 2009 21:25:07 +0000 (+0000) Subject: adjust the default network config for atheros devices with IP175C (e.g. D-Link DIR... X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=commitdiff_plain;h=3756fba2d4c82bfc2bf90a295253db543409acba adjust the default network config for atheros devices with IP175C (e.g. D-Link DIR-300), backport from trunk SVN-Revision: 17384 --- diff --git a/target/linux/atheros/base-files/etc/uci-defaults/network b/target/linux/atheros/base-files/etc/uci-defaults/network index 61a790f868..0cd7a52628 100644 --- a/target/linux/atheros/base-files/etc/uci-defaults/network +++ b/target/linux/atheros/base-files/etc/uci-defaults/network @@ -8,4 +8,23 @@ set network.wan.ifname=eth0.1 set network.wan.proto=dhcp commit network EOF +elif [ -e "/sys/bus/mdio_bus/drivers/IC+ IP175C/0:00" ]; then + uci batch <