From 190ee7d86b450083fea4236d588d0d88a50e1311 Mon Sep 17 00:00:00 2001 From: Vitaly Chekryzhev <13hakta@gmail.com> Date: Mon, 28 Nov 2016 23:41:51 +0500 Subject: ramips: add support for ZyXEL Keenetic Omni / Omni II Factory image can be installed via Zyxel WebUI. Signed-off-by: Vitaly Chekryzhev <13hakta@gmail.com> --- target/linux/ramips/base-files/etc/board.d/01_leds | 2 ++ target/linux/ramips/base-files/etc/board.d/02_network | 5 +++++ target/linux/ramips/base-files/etc/diag.sh | 2 ++ 3 files changed, 9 insertions(+) (limited to 'target/linux/ramips/base-files/etc') 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 9972039..4a7b9f6 100755 --- a/target/linux/ramips/base-files/etc/board.d/01_leds +++ b/target/linux/ramips/base-files/etc/board.d/01_leds @@ -207,6 +207,8 @@ ht-tm02) ucidef_set_led_netdev "eth" "Ethernet" "$board:green:lan" "eth0" set_wifi_led "$board:blue:wlan" ;; +kn_rc|\ +kn_rf|\ kng_rc) set_usb_led "$board:green:usb" set_wifi_led "$board:green:wifi" 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 2af5c45..63bf123 100755 --- a/target/linux/ramips/base-files/etc/board.d/02_network +++ b/target/linux/ramips/base-files/etc/board.d/02_network @@ -203,6 +203,11 @@ ramips_setup_interfaces() ucidef_add_switch "switch0" \ "1:lan" "2:lan" "3:lan" "4:lan" "5:lan" "0:wan" "6@eth0" ;; + kn_rc|\ + kn_rf) + ucidef_add_switch "switch" \ + "0:wan" "1:lan" "2:lan" "3:lan" "4:lan" "6@eth0" + ;; kng_rc) ucidef_add_switch "switch1" \ "0:lan" "1:lan" "2:lan" "3:lan" "4:wan" "7t@eth0" diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh index abbe147..0b0b8d9 100644 --- a/target/linux/ramips/base-files/etc/diag.sh +++ b/target/linux/ramips/base-files/etc/diag.sh @@ -24,6 +24,8 @@ get_status_led() { dir-860l-b1|\ e1700|\ fonera20n|\ + kn_rc|\ + kn_rf|\ kng_rc|\ mzk-750dhp|\ mzk-dp150n|\ -- cgit v1.1