aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/base-files
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/base-files')
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/01_leds3
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/02_network1
-rw-r--r--target/linux/ramips/base-files/etc/diag.sh3
-rwxr-xr-xtarget/linux/ramips/base-files/lib/upgrade/platform.sh1
4 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 1a8e37623e..b5de388764 100755
--- a/target/linux/ramips/base-files/etc/board.d/01_leds
+++ b/target/linux/ramips/base-files/etc/board.d/01_leds
@@ -532,6 +532,9 @@ zbt-wr8305rt)
set_usb_led "$boardname:green:usb"
set_wifi_led "$boardname:green:wifi"
;;
+zorlik,zl5900v2)
+ ucidef_set_led_netdev "lan" "lan" "$boardname:green:lan" eth0
+ ;;
zte-q7)
set_wifi_led "$boardname:blue:status"
;;
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 0f173bc95c..b7e5fb6ff9 100755
--- a/target/linux/ramips/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/base-files/etc/board.d/02_network
@@ -61,6 +61,7 @@ ramips_setup_interfaces()
widora,neo-32m|\
wnce2001|\
zbt-cpe102|\
+ zorlik,zl5900v2|\
zte-q7)
ucidef_add_switch "switch0"
ucidef_add_switch_attr "switch0" "enable" "false"
diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh
index cbaa2d663e..d84bdff3a7 100644
--- a/target/linux/ramips/base-files/etc/diag.sh
+++ b/target/linux/ramips/base-files/etc/diag.sh
@@ -153,7 +153,8 @@ get_status_led() {
wli-tx4-ag300n|\
y1|\
y1s|\
- youku-yk1)
+ youku-yk1|\
+ zorlik,zl5900v2)
status_led="$boardname:blue:power"
;;
dlink,dap-1522-a1|\
diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh
index 473b2c48bb..0a43f29920 100755
--- a/target/linux/ramips/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh
@@ -218,6 +218,7 @@ platform_check_image() {
zbt-wg3526-16M|\
zbt-wg3526-32M|\
zbt-wr8305rt|\
+ zorlik,zl5900v2|\
zte-q7|\
youku-yk1)
[ "$magic" != "27051956" ] && {