octeon: add detection for edgerouter and edgerouter-pro
authorJohn Crispin <john@openwrt.org>
Sun, 27 Jul 2014 14:52:07 +0000 (14:52 +0000)
committerJohn Crispin <john@openwrt.org>
Sun, 27 Jul 2014 14:52:07 +0000 (14:52 +0000)
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 41844

target/linux/octeon/base-files/lib/functions/octeon.sh

index 8871ed7117758a4036a1f6a79e3be728c21c7f72..deae9e37783201a147e3a9163d7ef9fad7e95cb9 100755 (executable)
@@ -17,6 +17,14 @@ octeon_board_detect() {
                name="erlite"
                ;;
 
+       "UBNT_E200"*)
+               name="er"
+               ;;
+
+       "UBNT_E220"*)
+               name="erpro"
+               ;;
+
        *)
                name="generic"
                ;;