projects
/
openwrt.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[packages] turn some of the kernel dependencies the other way around to make it easie...
[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
*
AW-NR580
)
14
name
=
"aw-nr580"
15
;;
16
*
LS-SR71
)
17
name
=
"ls-sr71"
18
;;
19
*
MZK-W04NU
)
20
name
=
"mzk-w04nu"
21
;;
22
*
RB-411
)
23
name
=
"rb-411"
24
;;
25
*
RB-433
)
26
name
=
"rb-433"
27
;;
28
*
RB-450
)
29
name
=
"rb-450"
30
;;
31
*
RB-493
)
32
name
=
"rb-493"
33
;;
34
*
RouterStation
)
35
name
=
"routerstation"
36
;;
37
*
TEW-632BRP
)
38
name
=
"tew-632brp"
39
;;
40
*
TL-WR941ND
)
41
name
=
"tl-wr941nd"
42
;;
43
*
WP543
)
44
name
=
"wp543"
45
;;
46
*
WNR2000
)
47
name
=
"wnr2000"
48
;;
49
*)
50
name
=
"generic"
51
;;
52
esac
53
54
echo
$name
55
}
This page took
0.058046 seconds
and
5
git commands to generate.