projects
/
openwrt.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
n810: Add kmod-n810bm to profile
[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.041132 seconds
and
5
git commands to generate.