projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ramips: add support for ZyXEL Keenetic Omni / Omni II
[openwrt/openwrt.git]
/
target
/
linux
/
ramips
/
base-files
/
lib
/
ramips.sh
diff --git
a/target/linux/ramips/base-files/lib/ramips.sh
b/target/linux/ramips/base-files/lib/ramips.sh
index ee9073238d774ea636694c00216a83833b915216..cc6f00fd558a08e3ba407404f3f27f6da8c25c10 100755
(executable)
--- a/
target/linux/ramips/base-files/lib/ramips.sh
+++ b/
target/linux/ramips/base-files/lib/ramips.sh
@@
-13,6
+13,9
@@
ramips_board_detect() {
machine=$(awk 'BEGIN{FS="[ \t]+:[ \t]"} /machine/ {print $2}' /proc/cpuinfo)
case "$machine" in
machine=$(awk 'BEGIN{FS="[ \t]+:[ \t]"} /machine/ {print $2}' /proc/cpuinfo)
case "$machine" in
+ *"11AC NAS Router")
+ name="w2914nsv2"
+ ;;
*"3G150B")
name="3g150b"
;;
*"3G150B")
name="3g150b"
;;
@@
-163,6
+166,9
@@
ramips_board_detect() {
*"DuZun DM06")
name="duzun-dm06"
;;
*"DuZun DM06")
name="duzun-dm06"
;;
+ *"DWR-512 B")
+ name="dwr-512-b"
+ ;;
*"E1700")
name="e1700"
;;
*"E1700")
name="e1700"
;;
@@
-454,6
+460,9
@@
ramips_board_detect() {
*"W150M")
name="w150m"
;;
*"W150M")
name="w150m"
;;
+ *"W2914NS v2")
+ name="w2914nsv2"
+ ;;
*"W306R V2.0")
name="w306r-v20"
;;
*"W306R V2.0")
name="w306r-v20"
;;
@@
-508,6
+517,9
@@
ramips_board_detect() {
*"WLI-TX4-AG300N")
name="wli-tx4-ag300n"
;;
*"WLI-TX4-AG300N")
name="wli-tx4-ag300n"
;;
+ *"WLR-6000")
+ name="wlr-6000"
+ ;;
*"WMR-300")
name="wmr-300"
;;
*"WMR-300")
name="wmr-300"
;;
@@
-583,6
+595,15
@@
ramips_board_detect() {
*"ZBT-WR8305RT")
name="zbt-wr8305rt"
;;
*"ZBT-WR8305RT")
name="zbt-wr8305rt"
;;
+ *"ZyXEL Keenetic Omni")
+ name="kn_rc"
+ ;;
+ *"ZyXEL Keenetic Omni II")
+ name="kn_rf"
+ ;;
+ *"ZyXEL Keenetic Viva")
+ name="kng_rc"
+ ;;
*"YK1")
name="youku-yk1"
;;
*"YK1")
name="youku-yk1"
;;