X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/6623e9fd706ad3c7351e376b065b04c6e1595062..0d6d67e4b9f702284357cebd6d9709828b6f89da:/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..7e91e6ac2 100644 --- a/target/linux/atheros/base-files/etc/uci-defaults/network +++ b/target/linux/atheros/base-files/etc/uci-defaults/network @@ -1,6 +1,28 @@ #!/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" -o \ + -e "/sys/bus/mdio_bus/drivers/IC+ IP17xx/0:00" ] && \ + [ -x /sbin/swconfig ]; +then + uci batch <