merge r17388 to 8.09
authorFelix Fietkau <nbd@openwrt.org>
Mon, 24 Aug 2009 22:08:21 +0000 (22:08 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Mon, 24 Aug 2009 22:08:21 +0000 (22:08 +0000)
SVN-Revision: 17390

target/linux/atheros/base-files/etc/uci-defaults/network

index 0cd7a52..1d91416 100644 (file)
@@ -8,7 +8,7 @@ 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
+elif [ -e "/sys/bus/mdio_bus/drivers/IC+ IP175C/0:00" -a -x /sbin/swconfig ]; then
        uci batch <<EOF
 set network.eth0=switch
 set network.eth0.reset=1