projects
/
openwrt.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
ar71xx: create combined images for the RS, RS-PRO and LS-SR71 boards, and add sysupgr...
[openwrt.git]
/
target
/
linux
/
ar71xx
/
base-files
/
lib
/
ar71xx.sh
1
#!/bin/sh
2
#
3
# Copyright (C) 2009 OpenWrt.org
4
#
5
6
ar71xx_board_name
() {
7
local
machine
8
local
name
9
10
machine
=
$
(
awk
'BEGIN{FS="[
\t
]+:[
\t
]"} /machine/ {print
$2
}'
/
proc
/
cpuinfo
)
11
12
case
"
$machine
"
in
13
*
AP81
)
14
name
=
"ap81"
15
;;
16
*
AP83
)
17
name
=
"ap83"
18
;;
19
*
AW-NR580
)
20
name
=
"aw-nr580"
21
;;
22
*
"Bullet M"
)
23
name
=
"bullet-m"
24
;;
25
*
LS-SR71
)
26
name
=
"ls-sr71"
27
;;
28
*
MZK-W04NU
)
29
name
=
"mzk-w04nu"
30
;;
31
*
MZK-W300NH
)
32
name
=
"mzk-w300nh"
33
;;
34
*
PB42
)
35
name
=
"pb42"
36
;;
37
*
PB44
)
38
name
=
"pb44"
39
;;
40
*
RB-411
)
41
name
=
"rb-411"
42
;;
43
*
RB-433
)
44
name
=
"rb-433"
45
;;
46
*
RB-450
)
47
name
=
"rb-450"
48
;;
49
*
RB-493
)
50
name
=
"rb-493"
51
;;
52
*
RouterStation
)
53
name
=
"routerstation"
54
;;
55
*
"RouterStation Pro"
)
56
name
=
"routerstation-pro"
57
;;
58
*
TEW-632BRP
)
59
name
=
"tew-632brp"
60
;;
61
*
TL-WR741ND
)
62
name
=
"tl-wr741nd"
63
;;
64
*
TL-WR941ND
)
65
name
=
"tl-wr941nd"
66
;;
67
*
WP543
)
68
name
=
"wp543"
69
;;
70
*
WNDR3700
)
71
name
"wndr3700"
72
;;
73
*
WNR2000
)
74
name
=
"wnr2000"
75
;;
76
*
WRT160NL
)
77
name
=
"wrt160nl"
78
;;
79
*
WRT400N
)
80
name
=
"wrt400n"
81
;;
82
*)
83
name
=
"generic"
84
;;
85
esac
86
87
echo
$name
88
}
This page took
0.066283 seconds
and
5
git commands to generate.