diff options
Diffstat (limited to 'target/linux/ramips/base-files/etc')
-rwxr-xr-x | target/linux/ramips/base-files/etc/board.d/02_network | 4 | ||||
-rw-r--r-- | target/linux/ramips/base-files/etc/diag.sh | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/target/linux/ramips/base-files/etc/board.d/02_network b/target/linux/ramips/base-files/etc/board.d/02_network index 507eb8a..cfad1ff 100755 --- a/target/linux/ramips/base-files/etc/board.d/02_network +++ b/target/linux/ramips/base-files/etc/board.d/02_network @@ -80,6 +80,7 @@ ramips_setup_interfaces() dir-615-h1|\ firewrt|\ hc5661a|\ + hc5962|\ hlk-rm04|\ mac1200rv2|\ miwifi-mini|\ @@ -345,7 +346,8 @@ ramips_setup_macs() wan_mac=$(mtd_get_mac_ascii config WAN_MAC_ADDR) ;; hc5*61|\ - hc5661a) + hc5661a|\ + hc5962) lan_mac=`mtd_get_mac_ascii bdinfo "Vfac_mac "` [ -n "$lan_mac" ] || lan_mac=$(cat /sys/class/net/eth0/address) wan_mac=$(macaddr_add "$lan_mac" 1) diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh index a1297e2..3f22117 100644 --- a/target/linux/ramips/base-files/etc/diag.sh +++ b/target/linux/ramips/base-files/etc/diag.sh @@ -147,6 +147,9 @@ get_status_led() { mlwg2) status_led="$board:blue:system" ;; + hc5962) + status_led="$board:white:status" + ;; linkits7688| \ linkits7688d) [ "$1" = "upgrade" ] && status_led="mediatek:orange:wifi" |