X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/6623e9fd706ad3c7351e376b065b04c6e1595062..0bc848a5da9a8b1cbb5e2760eaec0dedaa70c713:/target/linux/atheros/base-files/etc/uci-defaults/network diff --git a/target/linux/atheros/base-files/etc/uci-defaults/network b/target/linux/atheros/base-files/etc/uci-defaults/network index fa9710940..49c2a4005 100644 --- a/target/linux/atheros/base-files/etc/uci-defaults/network +++ b/target/linux/atheros/base-files/etc/uci-defaults/network @@ -1,6 +1,24 @@ #!/bin/sh -if [ -e "/sys/bus/mdio_bus/drivers/Infineon ADM6996/0:00" -o \ - -e "/sys/bus/mdio_bus/drivers/Marvell 88E6060/0:10" ]; then +if [ -e "/sys/bus/mdio_bus/drivers/IC+ IP175C/0:00" -a -x /sbin/swconfig ]; then + uci batch <