mirror of https://github.com/hak5/openwrt.git
ar71xx: base-files: fix indentation in lib/ar71xx.sh
Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>openwrt-18.06
parent
e213647399
commit
589b37e8b5
|
@ -74,25 +74,25 @@ ubnt_xm_board_detect() {
|
|||
|
||||
magic="$(ubnt_get_mtd_part_magic)"
|
||||
case ${magic:0:3} in
|
||||
"e00"|\
|
||||
"e01"|\
|
||||
"e80")
|
||||
model="Ubiquiti NanoStation M"
|
||||
;;
|
||||
"e0a")
|
||||
model="Ubiquiti NanoStation loco M"
|
||||
;;
|
||||
"e1b"|\
|
||||
"e1d")
|
||||
model="Ubiquiti Rocket M"
|
||||
;;
|
||||
"e20"|\
|
||||
"e2d")
|
||||
model="Ubiquiti Bullet M"
|
||||
;;
|
||||
"e30")
|
||||
model="Ubiquiti PicoStation M"
|
||||
;;
|
||||
"e00"|\
|
||||
"e01"|\
|
||||
"e80")
|
||||
model="Ubiquiti NanoStation M"
|
||||
;;
|
||||
"e0a")
|
||||
model="Ubiquiti NanoStation loco M"
|
||||
;;
|
||||
"e1b"|\
|
||||
"e1d")
|
||||
model="Ubiquiti Rocket M"
|
||||
;;
|
||||
"e20"|\
|
||||
"e2d")
|
||||
model="Ubiquiti Bullet M"
|
||||
;;
|
||||
"e30")
|
||||
model="Ubiquiti PicoStation M"
|
||||
;;
|
||||
esac
|
||||
|
||||
[ -z "$model" ] || AR71XX_MODEL="${model}${magic:3:1}"
|
||||
|
|
Loading…
Reference in New Issue