X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/f7997f15e2ece1e55c599e04c0d3867638fb09da..0d6d67e4b9f702284357cebd6d9709828b6f89da:/target/linux/atheros/base-files/etc/uci-defaults/network?ds=sidebyside diff --git a/target/linux/atheros/base-files/etc/uci-defaults/network b/target/linux/atheros/base-files/etc/uci-defaults/network index 89ea9a102..7e91e6ac2 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 <