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_leds5
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/02_network3
-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, 10 insertions, 2 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 b424c759db..73f52339c5 100755
--- a/target/linux/ramips/base-files/etc/board.d/01_leds
+++ b/target/linux/ramips/base-files/etc/board.d/01_leds
@@ -555,6 +555,11 @@ zorlik,zl5900v2)
zte-q7)
set_wifi_led "$boardname:blue:status"
;;
+zyxel,keenetic-extra-ii)
+ set_wifi_led "$boardname:green:wifi"
+ set_usb_led "$boardname:green:usb"
+ ucidef_set_led_switch "internet" "internet" "$boardname:green:internet" "switch0" "0x01"
+ ;;
youku-yk1)
set_wifi_led "$boardname:blue:air"
set_usb_led "$boardname:blue: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 1303bcf8ca..01355b4278 100755
--- a/target/linux/ramips/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/base-files/etc/board.d/02_network
@@ -218,7 +218,8 @@ ramips_setup_interfaces()
wrtnode2p | \
wrtnode2r | \
youhua,wr1200js|\
- zbt-wa05)
+ zbt-wa05|\
+ zyxel,keenetic-extra-ii)
ucidef_add_switch "switch0" \
"1:lan" "2:lan" "3:lan" "4:lan" "0:wan" "6@eth0"
;;
diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh
index ed6c409e0f..d4fe14116a 100644
--- a/target/linux/ramips/base-files/etc/diag.sh
+++ b/target/linux/ramips/base-files/etc/diag.sh
@@ -54,7 +54,8 @@ get_status_led() {
x5|\
x8|\
xdxrn502j|\
- wn3000rpv3)
+ wn3000rpv3|\
+ zyxel,keenetic-extra-ii)
status_led="$boardname:green:power"
;;
3g-6200nl)
diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh
index 3511f828ce..a2c6395cfb 100755
--- a/target/linux/ramips/base-files/lib/upgrade/platform.sh
+++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh
@@ -226,6 +226,7 @@ platform_check_image() {
zbt-wr8305rt|\
zorlik,zl5900v2|\
zte-q7|\
+ zyxel,keenetic-extra-ii|\
youku-yk1)
[ "$magic" != "27051956" ] && {
echo "Invalid image type."