ar71xx: fix syntax error in /lib/ar71xx.sh

Fixes: 212c38f0 "ar71xx: add model detection for UBNT Rocket Ti"
This commit is contained in:
Matthias Schiffer 2016-11-29 20:01:54 +01:00
parent 78ccfaa58d
commit 6ebf7120df
No known key found for this signature in database
GPG Key ID: 16EF3F64CB201D9C
11 changed files with 15 additions and 15 deletions

View File

@ -5,7 +5,7 @@ Subject: fix UBNT XM model detection
Signed-off-by: Neal Oakey <neal.oakey@bingo-ev.de> Signed-off-by: Neal Oakey <neal.oakey@bingo-ev.de>
diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index a9dca58..7da8f54 100755 index a9dca58..0aa1c86 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -64,6 +64,40 @@ wndr3700_board_detect() { @@ -64,6 +64,40 @@ wndr3700_board_detect() {
@ -24,18 +24,18 @@ index a9dca58..7da8f54 100755
+ case ${magic:0:3} in + case ${magic:0:3} in
+ "e00"|\ + "e00"|\
+ "e01"|\ + "e01"|\
+ "e80") # It seams that there are different Versions of the Nanostation + "e80")
+ model="Ubiquiti NanoStation M" + model="Ubiquiti NanoStation M"
+ ;; + ;;
+ "e0a") + "e0a")
+ model="Ubiquiti NanoStation loco M" + model="Ubiquiti NanoStation loco M"
+ ;; + ;;
+ "e1b"|\ # Note: the M5 / M5 Ti haven't yet been verified! + "e1b"|\
+ "e1d") # Rocket Ti M + "e1d")
+ model="Ubiquiti Rocket M" + model="Ubiquiti Rocket M"
+ ;; + ;;
+ "e20"|\ + "e20"|\
+ "e2d") # Bullet Ti M + "e2d")
+ model="Ubiquiti Bullet M" + model="Ubiquiti Bullet M"
+ ;; + ;;
+ "e30") + "e30")

View File

@ -11,7 +11,7 @@ Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
Backport of r49106 Backport of r49106
diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index 7da8f54..c980633 100755 index 0aa1c86..96a37b4 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -133,7 +133,7 @@ tplink_board_detect() { @@ -133,7 +133,7 @@ tplink_board_detect() {

View File

@ -12,7 +12,7 @@ Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
Backport of r49107 Backport of r49107
diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index c980633..7e69d81 100755 index 96a37b4..6c10617 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -162,6 +162,10 @@ tplink_board_detect() { @@ -162,6 +162,10 @@ tplink_board_detect() {

View File

@ -34,7 +34,7 @@ index 032c671..a79376a 100755
mynet-rext |\ mynet-rext |\
wp543) wp543)
diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index 7e69d81..478510f 100755 index 6c10617..ecf584d 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -902,6 +902,9 @@ ar71xx_board_detect() { @@ -902,6 +902,9 @@ ar71xx_board_detect() {

View File

@ -49,7 +49,7 @@ index a79376a..2007042 100755
mynet-rext |\ mynet-rext |\
wp543) wp543)
diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index 478510f..e4c6057 100755 index ecf584d..6bc0b86 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -902,8 +902,8 @@ ar71xx_board_detect() { @@ -902,8 +902,8 @@ ar71xx_board_detect() {

View File

@ -54,7 +54,7 @@ index 2007042..b59844e 100755
ucidef_set_interfaces_lan_wan "eth0" "eth1" ucidef_set_interfaces_lan_wan "eth0" "eth1"
;; ;;
diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index e4c6057..7434a93 100755 index 6bc0b86..aded7ad 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -905,6 +905,9 @@ ar71xx_board_detect() { @@ -905,6 +905,9 @@ ar71xx_board_detect() {

View File

@ -36,7 +36,7 @@ index b59844e..ac3deb8 100755
jwap003 |\ jwap003 |\
pb42 |\ pb42 |\
diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index 7434a93..f689098 100755 index aded7ad..f242980 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -503,6 +503,9 @@ ar71xx_board_detect() { @@ -503,6 +503,9 @@ ar71xx_board_detect() {

View File

@ -59,7 +59,7 @@ index ac3deb8..ca9c577 100755
whr-hp-g300n |\ whr-hp-g300n |\
whr-hp-gn |\ whr-hp-gn |\
diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index f689098..748b9c7 100755 index f242980..fcd0bc3 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -869,6 +869,9 @@ ar71xx_board_detect() { @@ -869,6 +869,9 @@ ar71xx_board_detect() {

View File

@ -9,7 +9,7 @@ Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
Backport of LEDE 500a67a167a256002f8ab05171f49dfb86b03260 Backport of LEDE 500a67a167a256002f8ab05171f49dfb86b03260
diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index 748b9c7..28066b1 100755 index fcd0bc3..20250e9 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -107,6 +107,15 @@ cybertan_get_hw_magic() { @@ -107,6 +107,15 @@ cybertan_get_hw_magic() {

View File

@ -46,7 +46,7 @@ index ca9c577..6c3ecf5 100755
ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2" ucidef_set_interfaces_lan_wan "eth0.1" "eth0.2"
ucidef_add_switch "switch0" "1" "1" ucidef_add_switch "switch0" "1" "1"
diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index 28066b1..45b1f62 100755 index 20250e9..0d8ccd2 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -447,7 +447,11 @@ ar71xx_board_detect() { @@ -447,7 +447,11 @@ ar71xx_board_detect() {

View File

@ -19,7 +19,7 @@ index 6c3ecf5..027a671 100755
ucidef_set_interface_lan "eth1" ucidef_set_interface_lan "eth1"
;; ;;
diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index 45b1f62..d0e1d09 100755 index 0d8ccd2..5928439 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh --- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh +++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -838,6 +838,9 @@ ar71xx_board_detect() { @@ -838,6 +838,9 @@ ar71xx_board_detect() {