projects
/
openwrt.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
ar71xx: fix MAC/MDIO reset mask handling
[openwrt.git]
/
target
/
linux
/
cns21xx
/
base-files
/
lib
/
cns21xx.sh
1
#!/bin/sh
2
#
3
# Copyright (C) 2010 OpenWrt.org
4
#
5
6
get_board_name
() {
7
local
hardware
8
local
name
9
10
hardware
=
$
(
awk
'BEGIN{FS="[
\t
]+:[
\t
]"} /Hardware/ {print
$2
}'
/
proc
/
cpuinfo
)
11
12
case
"
$hardware
"
in
13
*
NSB3AST
)
14
name
=
"nsb3ast"
15
;;
16
"NS-K330 NAS"
)
17
name
=
"ns-k330"
18
;;
19
*)
20
name
=
"generic"
21
;;
22
esac
23
24
echo
$name
25
}
This page took
0.056506 seconds
and
5
git commands to generate.