projects
/
openwrt.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
ramips: rt305x: add support for the ZyXEL NBG-419N board
[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
*"NW718")
41
name="nw718"
42
;;
43
*"PWH2004")
44
name="pwh2004"
45
;;
46
*"RT-G32 B1")
47
name="rt-g32-b1"
48
;;
49
*"RT-N15")
50
name="rt-n15"
51
;;
52
*"WCR-150GN")
53
name="wcr-150gn"
54
;;
55
*"V22RW-2X2")
56
name="v22rw-2x2"
57
;;
58
*"WHR-G300N")
59
name="whr-g300n"
60
;;
61
*"WZR-AGL300NH")
62
name="wzr-agl300nh"
63
;;
64
*"WR512-3GN-like router")
65
name="wr512-3gn"
66
;;
67
*)
68
name="generic"
69
;;
70
esac
71
72
echo $name
73
}