projects
/
openwrt
/
staging
/
chunkeey.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
octeon: add detection for edgerouter and edgerouter-pro
[openwrt/staging/chunkeey.git]
/
target
/
linux
/
octeon
/
base-files
/
lib
/
functions
/
octeon.sh
diff --git
a/target/linux/octeon/base-files/lib/functions/octeon.sh
b/target/linux/octeon/base-files/lib/functions/octeon.sh
index 8871ed7117758a4036a1f6a79e3be728c21c7f72..deae9e37783201a147e3a9163d7ef9fad7e95cb9 100755
(executable)
--- a/
target/linux/octeon/base-files/lib/functions/octeon.sh
+++ b/
target/linux/octeon/base-files/lib/functions/octeon.sh
@@
-17,6
+17,14
@@
octeon_board_detect() {
name="erlite"
;;
+ "UBNT_E200"*)
+ name="er"
+ ;;
+
+ "UBNT_E220"*)
+ name="erpro"
+ ;;
+
*)
name="generic"
;;