projects
/
openwrt.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[at91] fix u-boot linking failure with an EABI toolchain
[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
*
WNR2000
)
71
name
=
"wnr2000"
72
;;
73
*
WRT160NL
)
74
name
=
"wrt160nl"
75
;;
76
*
WRT400N
)
77
name
=
"wrt400n"
78
;;
79
*)
80
name
=
"generic"
81
;;
82
esac
83
84
echo
$name
85
}
This page took
0.043324 seconds
and
5
git commands to generate.