diff options
Diffstat (limited to 'target/linux/ramips/base-files/etc')
-rwxr-xr-x | target/linux/ramips/base-files/etc/board.d/01_leds | 4 | ||||
-rwxr-xr-x | target/linux/ramips/base-files/etc/board.d/02_network | 7 | ||||
-rw-r--r-- | target/linux/ramips/base-files/etc/diag.sh | 1 |
3 files changed, 12 insertions, 0 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 0f1ad57f55..ed51555d38 100755 --- a/target/linux/ramips/base-files/etc/board.d/01_leds +++ b/target/linux/ramips/base-files/etc/board.d/01_leds @@ -203,6 +203,10 @@ ht-tm02) ucidef_set_led_netdev "eth" "Ethernet" "$board:green:lan" "eth0" set_wifi_led "$board:blue:wlan" ;; +kng_rc) + set_usb_led "$board:green:usb" + set_wifi_led "$board:green:wifi" + ;; m2m) set_wifi_led "$board:blue:wifi" ucidef_set_led_netdev "eth" "Ethernet" "$board:green:wan" "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 1e97c3b3c2..5ae6413fcf 100755 --- a/target/linux/ramips/base-files/etc/board.d/02_network +++ b/target/linux/ramips/base-files/etc/board.d/02_network @@ -204,6 +204,10 @@ ramips_setup_interfaces() ucidef_add_switch "switch0" \ "1:lan" "2:lan" "3:lan" "4:lan" "5:lan" "0:wan" "6@eth0" ;; + kng_rc) + ucidef_add_switch "switch1" \ + "0:lan" "1:lan" "2:lan" "3:lan" "4:wan" "7t@eth0" + ;; mlwg2|\ wizard8800|\ wl-330n) @@ -320,6 +324,9 @@ ramips_setup_macs() [ -n "$lan_mac" ] || lan_mac=$(cat /sys/class/net/eth0/address) wan_mac=$(macaddr_add "$lan_mac" 1) ;; + kng_rc) + wan_mac=$(mtd_get_mac_binary factory 28) + ;; linkits7688 | \ linkits7688d) wan_mac=$(mtd_get_mac_binary factory 4) diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh index 52baa0b23e..1aa1a2e9fb 100644 --- a/target/linux/ramips/base-files/etc/diag.sh +++ b/target/linux/ramips/base-files/etc/diag.sh @@ -24,6 +24,7 @@ get_status_led() { dir-860l-b1|\ e1700|\ fonera20n|\ + kng_rc|\ mzk-750dhp|\ mzk-dp150n|\ mzk-w300nh2|\ |