diff options
Diffstat (limited to 'target/linux/ramips/base-files')
4 files changed, 12 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 537448ec9d..1e97c3b3c2 100755 --- a/target/linux/ramips/base-files/etc/board.d/02_network +++ b/target/linux/ramips/base-files/etc/board.d/02_network @@ -226,7 +226,8 @@ ramips_setup_interfaces() "0:lan" "1:lan" "2:lan" "3:lan" "4:wan" "8@eth0" ;; tew-691gr|\ - tew-692gr) + tew-692gr|\ + wlr-6000) ucidef_add_switch "switch0" \ "1:lan" "2:lan" "3:lan" "4:lan" "5:wan" "0@eth0" ;; @@ -383,6 +384,9 @@ ramips_setup_macs() lan_mac=$(mtd_get_mac_binary factory 4) wan_mac=$(mtd_get_mac_binary factory 40) ;; + wlr-6000) + wan_mac=$(macaddr_add "$(mtd_get_mac_binary factory 32772)" 2) + ;; wsr-1166) local index="$(find_mtd_index "board_data")" wan_mac="$(grep -m1 mac= "/dev/mtd${index}" | cut -d= -f2)" diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh index f3910c7cba..52baa0b23e 100644 --- a/target/linux/ramips/base-files/etc/diag.sh +++ b/target/linux/ramips/base-files/etc/diag.sh @@ -207,6 +207,9 @@ get_status_led() { status_led="$board:amber:power" ;; whr-g300n|\ + wlr-6000) + status_led="$board:red:power" + ;; wzr-agl300nh) status_led="$board:green:router" ;; diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh index ee9073238d..c62f5f6a93 100755 --- a/target/linux/ramips/base-files/lib/ramips.sh +++ b/target/linux/ramips/base-files/lib/ramips.sh @@ -508,6 +508,9 @@ ramips_board_detect() { *"WLI-TX4-AG300N") name="wli-tx4-ag300n" ;; + *"WLR-6000") + name="wlr-6000" + ;; *"WMR-300") name="wmr-300" ;; diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh index d5d0463a60..fa108b6ce4 100755 --- a/target/linux/ramips/base-files/lib/upgrade/platform.sh +++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh @@ -148,6 +148,7 @@ platform_check_image() { wl-351|\ wl-wn575a3|\ wli-tx4-ag300n|\ + wlr-6000|\ wmr-300|\ wnce2001|\ wndr3700v5|\ |