aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2016-11-29 19:53:27 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2016-11-29 19:53:47 +0100
commita15ea362d7279420d3b620412bbb007f9b02b77f (patch)
tree6ed63ebb3e852342f8c37e2c16ab4d0938b22a7d /target/linux
parent9a5801e7f6e8bc6641ca320e4497d298080f1b24 (diff)
downloadupstream-a15ea362d7279420d3b620412bbb007f9b02b77f.tar.gz
upstream-a15ea362d7279420d3b620412bbb007f9b02b77f.tar.bz2
upstream-a15ea362d7279420d3b620412bbb007f9b02b77f.zip
ar71xx: fix syntax error in /lib/ar71xx.sh
Remove all comments in ubnt_xm_board_detect(), as it's not possible to add comments to specific lines of the case construct anyways. Fixes: 9a5801e7 "ar71xx: add model detection for UBNT Rocket Ti" Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
Diffstat (limited to 'target/linux')
-rwxr-xr-xtarget/linux/ar71xx/base-files/lib/ar71xx.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/target/linux/ar71xx/base-files/lib/ar71xx.sh b/target/linux/ar71xx/base-files/lib/ar71xx.sh
index a4aece8db7..526d03344b 100755
--- a/target/linux/ar71xx/base-files/lib/ar71xx.sh
+++ b/target/linux/ar71xx/base-files/lib/ar71xx.sh
@@ -76,18 +76,18 @@ ubnt_xm_board_detect() {
case ${magic:0:3} in
"e00"|\
"e01"|\
- "e80") # Different revisions of the NanoStation?
+ "e80")
model="Ubiquiti NanoStation M"
;;
"e0a")
model="Ubiquiti NanoStation loco M"
;;
- "e1b"|\ # Note: the M5 / M5 Ti haven't yet been verified
- "e1d") # Rocket M Ti
+ "e1b"|\
+ "e1d")
model="Ubiquiti Rocket M"
;;
"e20"|\
- "e2d") # Bullet M Ti
+ "e2d")
model="Ubiquiti Bullet M"
;;
"e30")