projects
/
lede-git
/
.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
mpc85xx: add default profile
[lede-git/.git]
/
target
/
linux
/
cns3xxx
/
base-files
/
lib
/
cns3xxx.sh
1
#!/bin/sh
2
#
3
# Copyright (C) 2012 OpenWrt.org
4
#
5
6
cns3xxx_board_name() {
7
local machine
8
local name
9
10
machine=$(awk 'BEGIN{FS="[ \t]+:[ \t]"} /Hardware/ {print $2}' /proc/cpuinfo)
11
12
case "$machine" in
13
"Gateworks Corporation Laguna"*)
14
name="laguna"
15
;;
16
*)
17
name="generic";
18
;;
19
esac
20
21
echo $name
22
}