From 8c71102761475b959167cc84dcc73adc8c206d2b Mon Sep 17 00:00:00 2001 From: jow Date: Fri, 23 Jul 2010 10:39:10 +0000 Subject: [atheros] renaming of the IP175C switch driver brioke switch detection on the Dir-300 and others, fix it git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22363 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/atheros/base-files/etc/uci-defaults/network | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'target/linux') diff --git a/target/linux/atheros/base-files/etc/uci-defaults/network b/target/linux/atheros/base-files/etc/uci-defaults/network index 89ea9a102c..7e91e6ac2c 100644 --- a/target/linux/atheros/base-files/etc/uci-defaults/network +++ b/target/linux/atheros/base-files/etc/uci-defaults/network @@ -1,5 +1,8 @@ #!/bin/sh -if [ -e "/sys/bus/mdio_bus/drivers/IC+ IP175C/0:00" -a -x /sbin/swconfig ]; then +if [ -e "/sys/bus/mdio_bus/drivers/IC+ IP175C/0:00" -o \ + -e "/sys/bus/mdio_bus/drivers/IC+ IP17xx/0:00" ] && \ + [ -x /sbin/swconfig ]; +then uci batch <