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)"
|
magic="$(ubnt_get_mtd_part_magic)"
|
||||||
case ${magic:0:3} in
|
case ${magic:0:3} in
|
||||||
"e00"|\
|
"e00"|\
|
||||||
"e01"|\
|
"e01"|\
|
||||||
"e80")
|
"e80")
|
||||||
model="Ubiquiti NanoStation M"
|
model="Ubiquiti NanoStation M"
|
||||||
;;
|
;;
|
||||||
"e0a")
|
"e0a")
|
||||||
model="Ubiquiti NanoStation loco M"
|
model="Ubiquiti NanoStation loco M"
|
||||||
;;
|
;;
|
||||||
"e1b"|\
|
"e1b"|\
|
||||||
"e1d")
|
"e1d")
|
||||||
model="Ubiquiti Rocket M"
|
model="Ubiquiti Rocket M"
|
||||||
;;
|
;;
|
||||||
"e20"|\
|
"e20"|\
|
||||||
"e2d")
|
"e2d")
|
||||||
model="Ubiquiti Bullet M"
|
model="Ubiquiti Bullet M"
|
||||||
;;
|
;;
|
||||||
"e30")
|
"e30")
|
||||||
model="Ubiquiti PicoStation M"
|
model="Ubiquiti PicoStation M"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
[ -z "$model" ] || AR71XX_MODEL="${model}${magic:3:1}"
|
[ -z "$model" ] || AR71XX_MODEL="${model}${magic:3:1}"
|
||||||
|
|
Loading…
Reference in New Issue