projects
/
openwrt.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
kernel: fix swconfig for 2.6.32
[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
*
"DIR-825 rev. B1"
)
23
name
=
"dir-825-b1"
24
;;
25
*
"Bullet M"
)
26
name
=
"bullet-m"
27
;;
28
*
"Nanostation M"
)
29
name
=
"nanostation-m"
30
;;
31
*
LS-SR71
)
32
name
=
"ls-sr71"
33
;;
34
*
MZK-W04NU
)
35
name
=
"mzk-w04nu"
36
;;
37
*
MZK-W300NH
)
38
name
=
"mzk-w300nh"
39
;;
40
*
PB42
)
41
name
=
"pb42"
42
;;
43
*
PB44
)
44
name
=
"pb44"
45
;;
46
*
RB-411
)
47
name
=
"rb-411"
48
;;
49
*
RB-433
)
50
name
=
"rb-433"
51
;;
52
*
RB-450
)
53
name
=
"rb-450"
54
;;
55
*
RB-493
)
56
name
=
"rb-493"
57
;;
58
*
"Rocket M"
)
59
name
=
"rocket-m"
60
;;
61
*
RouterStation
)
62
name
=
"routerstation"
63
;;
64
*
"RouterStation Pro"
)
65
name
=
"routerstation-pro"
66
;;
67
*
TEW-632BRP
)
68
name
=
"tew-632brp"
69
;;
70
*
TL-WR741ND
)
71
name
=
"tl-wr741nd"
72
;;
73
*
TL-WR941ND
)
74
name
=
"tl-wr941nd"
75
;;
76
*
WP543
)
77
name
=
"wp543"
78
;;
79
*
WNDR3700
)
80
name
=
"wndr3700"
81
;;
82
*
WNR2000
)
83
name
=
"wnr2000"
84
;;
85
*
WRT160NL
)
86
name
=
"wrt160nl"
87
;;
88
*
WRT400N
)
89
name
=
"wrt400n"
90
;;
91
*)
92
name
=
"generic"
93
;;
94
esac
95
96
echo
$name
97
}
This page took
0.049852 seconds
and
5
git commands to generate.