diff options
Diffstat (limited to 'target/linux/ramips/base-files')
-rwxr-xr-x | target/linux/ramips/base-files/etc/board.d/01_leds | 3 | ||||
-rwxr-xr-x | target/linux/ramips/base-files/etc/board.d/02_network | 4 | ||||
-rwxr-xr-x | target/linux/ramips/base-files/lib/upgrade/platform.sh | 1 |
3 files changed, 7 insertions, 1 deletions
diff --git a/target/linux/ramips/base-files/etc/board.d/01_leds b/target/linux/ramips/base-files/etc/board.d/01_leds index b64e9d14c5..4e90efd4e6 100755 --- a/target/linux/ramips/base-files/etc/board.d/01_leds +++ b/target/linux/ramips/base-files/etc/board.d/01_leds @@ -240,6 +240,9 @@ hg255d) set_usb_led "$boardname:green:usb" ucidef_set_led_netdev "internet" "internet" "$boardname:green:internet" "eth0.2" ;; +hiwifi,hc5861b) + set_wifi_led "$boardname:green:wlan2g" + ;; hpm) ucidef_set_led_default "power" "POWER" "$boardname:orange:power" "1" ucidef_set_led_netdev "eth" "ETH" "$boardname:green:eth" "eth0" 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 3ae01448b5..915c3584c5 100755 --- a/target/linux/ramips/base-files/etc/board.d/02_network +++ b/target/linux/ramips/base-files/etc/board.d/02_network @@ -199,6 +199,7 @@ ramips_setup_interfaces() gl-mt300n|\ gl-mt750|\ hg255d|\ + hiwifi,hc5861b|\ jhr-n805r|\ jhr-n825r|\ jhr-n926r|\ @@ -483,7 +484,8 @@ ramips_setup_macs() ;; hc5*61|\ hc5661a|\ - hc5962) + hc5962|\ + hiwifi,hc5861b) 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/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh index a46925a43b..a102a0bf7a 100755 --- a/target/linux/ramips/base-files/lib/upgrade/platform.sh +++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh @@ -73,6 +73,7 @@ platform_check_image() { hc5*61|\ hc5661a|\ hg255d|\ + hiwifi,hc5861b|\ hlk-rm04|\ hpm|\ ht-tm02|\ |