projects
/
openwrt.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
ramips: Sparklan wcr-150gn board fixes
[openwrt.git]
/
target
/
linux
/
ramips
/
base-files
/
lib
/
ramips.sh
1
#!/bin/sh
2
#
3
# Copyright (C) 2010 OpenWrt.org
4
#
5
6
ramips_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
*
"Argus ATP-52B"
)
14
name
=
"argus-atp52b"
15
;;
16
*
"Aztech HW550-3G"
)
17
name
=
"hw550-3g"
18
;;
19
*
"DIR-300 B1"
)
20
name
=
"dir-300-b1"
21
;;
22
*
"DIR-600 B1"
)
23
name
=
"dir-600-b1"
24
;;
25
*
"DIR-600 B2"
)
26
name
=
"dir-600-b2"
27
;;
28
*
"F5D8235 v2"
)
29
name
=
"f5d8235-v2"
30
;;
31
*
"La Fonera 2.0N"
)
32
name
=
"fonera20n"
33
;;
34
*
"MoFi Network MOFI3500-3GN"
)
35
name
=
"mofi3500-3gn"
36
;;
37
*
"NBG-419N"
)
38
name
=
"nbg-419n"
39
;;
40
*
"NexAira BC2"
)
41
name
=
"bc2"
42
;;
43
*
"NW718"
)
44
name
=
"nw718"
45
;;
46
*
"PWH2004"
)
47
name
=
"pwh2004"
48
;;
49
*
"RT-G32 B1"
)
50
name
=
"rt-g32-b1"
51
;;
52
*
"RT-N15"
)
53
name
=
"rt-n15"
54
;;
55
*
"WCR-150GN"
)
56
name
=
"wcr-150gn"
57
;;
58
*
"V22RW-2X2"
)
59
name
=
"v22rw-2x2"
60
;;
61
*
"WHR-G300N"
)
62
name
=
"whr-g300n"
63
;;
64
*
"WZR-AGL300NH"
)
65
name
=
"wzr-agl300nh"
66
;;
67
*
"WR512-3GN-like router"
)
68
name
=
"wr512-3gn"
69
;;
70
*)
71
name
=
"generic"
72
;;
73
esac
74
75
echo
$name
76
}
This page took
0.045629 seconds
and
5
git commands to generate.