X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/b053ab6499575fccf2353bea6dd0f93001d9f132..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 af7cfb0af..7e91e6ac2 100644 --- a/target/linux/atheros/base-files/etc/uci-defaults/network +++ b/target/linux/atheros/base-files/etc/uci-defaults/network @@ -1,7 +1,11 @@ #!/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 <