diff options
Diffstat (limited to 'target/linux/ramips/base-files')
4 files changed, 10 insertions, 4 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 78ba10342b..d0f3fce135 100755 --- a/target/linux/ramips/base-files/etc/board.d/02_network +++ b/target/linux/ramips/base-files/etc/board.d/02_network @@ -83,6 +83,7 @@ ramips_setup_interfaces() hc5661a|\ hc5962|\ hlk-rm04|\ + k2p|\ kn|\ kn_rc|\ mac1200rv2|\ diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh index 531c8e055f..1349c00b32 100644 --- a/target/linux/ramips/base-files/etc/diag.sh +++ b/target/linux/ramips/base-files/etc/diag.sh @@ -157,6 +157,11 @@ get_status_led() { hc5962) status_led="$board:white:status" ;; + k2p|\ + m3|\ + miwifi-nano) + status_led="$board:blue:status" + ;; linkits7688| \ linkits7688d) [ "$1" = "upgrade" ] && status_led="mediatek:orange:wifi" @@ -164,10 +169,6 @@ get_status_led() { m2m) status_led="$board:blue:wifi" ;; - m3|\ - miwifi-nano) - status_led="$board:blue:status" - ;; gl-mt300n-v2) status_led="$board:red:wlan" ;; diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh index 056fab9def..e2d7b07ecb 100755 --- a/target/linux/ramips/base-files/lib/ramips.sh +++ b/target/linux/ramips/base-files/lib/ramips.sh @@ -262,6 +262,9 @@ ramips_board_detect() { *"JHR-N926R") name="jhr-n926r" ;; + *"K2P") + name="k2p" + ;; *"M3") name="m3" ;; diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh index e0a260216d..36469ca704 100755 --- a/target/linux/ramips/base-files/lib/upgrade/platform.sh +++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh @@ -74,6 +74,7 @@ platform_check_image() { jhr-n805r|\ jhr-n825r|\ jhr-n926r|\ + k2p|\ kn|\ kn_rc|\ kn_rf|\ |