X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/4668cb866358f1ebab1d6867a0ba422e4a5b18b7..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 e2fe6cd5e..7e91e6ac2 100644 --- a/target/linux/atheros/base-files/etc/uci-defaults/network +++ b/target/linux/atheros/base-files/etc/uci-defaults/network @@ -1,10 +1,45 @@ #!/bin/sh -if [ -e "/sys/bus/mdio_bus/drivers/Infineon ADM6996/0:00" ]; 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 <