aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/base-files')
-rw-r--r--[-rwxr-xr-x]target/linux/ramips/base-files/etc/board.d/01_leds5
-rw-r--r--[-rwxr-xr-x]target/linux/ramips/base-files/etc/board.d/02_network1
-rw-r--r--[-rwxr-xr-x]target/linux/ramips/base-files/lib/ramips.sh3
-rw-r--r--[-rwxr-xr-x]target/linux/ramips/base-files/lib/upgrade/platform.sh1
4 files changed, 10 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 d1b4e159ae..8fd50fedc7 100755..100644
--- a/target/linux/ramips/base-files/etc/board.d/01_leds
+++ b/target/linux/ramips/base-files/etc/board.d/01_leds
@@ -268,6 +268,11 @@ zbt-wa05)
set_wifi_led "$board:blue:air"
set_usb_led "$board:blue:usb"
;;
+zbt-we826)
+ ucidef_set_led_default "power" "power" "$board:green:power" "1"
+ set_wifi_led "$board:green:wifi"
+ set_usb_led "$board:green:usb"
+ ;;
zbt-wr8305rt)
ucidef_set_led_default "power" "power" "$board:green:sys" "1"
set_usb_led "$board:green:usb"
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 0121e51665..0a680d0975 100755..100644
--- a/target/linux/ramips/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/base-files/etc/board.d/02_network
@@ -209,6 +209,7 @@ ramips_setup_interfaces()
ucidef_add_switch "switch0" \
"1:lan" "2:lan" "0:wan" "6@eth0"
;;
+ zbt-we826|\
zbt-wr8305rt)
ucidef_add_switch "switch0" \
"0:lan" "1:lan" "2:lan" "3:lan" "4:wan" "6@eth0"
diff --git a/target/linux/ramips/base-files/lib/ramips.sh b/target/linux/ramips/base-files/lib/ramips.sh
index c6c32fe7db..c4eb357818 100755..100644
--- a/target/linux/ramips/base-files/lib/ramips.sh
+++ b/target/linux/ramips/base-files/lib/ramips.sh
@@ -475,6 +475,9 @@ ramips_board_detect() {
*"ZBT-WA05")
name="zbt-wa05"
;;
+ *"ZBT-WE826")
+ name="zbt-we826"
+ ;;
*"ZBT-WG2626")
name="zbt-wg2626"
;;
diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh
index 0cae707105..df1ededd00 100755..100644
--- a/target/linux/ramips/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh
@@ -139,6 +139,7 @@ platform_check_image() {
y1|\
y1s|\
zbt-wa05|\
+ zbt-we826|\
zbt-wg2626|\
zbt-wr8305rt|\
zte-q7|\