projects
/
openwrt
/
staging
/
noltari.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6090ddc
)
cns3xxx: fix coding style in board script
author
Luka Perkov
<luka@openwrt.org>
Wed, 7 Nov 2012 23:12:06 +0000
(23:12 +0000)
committer
Luka Perkov
<luka@openwrt.org>
Wed, 7 Nov 2012 23:12:06 +0000
(23:12 +0000)
SVN-Revision: 34113
target/linux/cns3xxx/base-files/lib/cns3xxx.sh
patch
|
blob
|
history
diff --git
a/target/linux/cns3xxx/base-files/lib/cns3xxx.sh
b/target/linux/cns3xxx/base-files/lib/cns3xxx.sh
index d446777c02c12e7c24894a7fa4310e1a95f7b868..476f9be21de095c3cf8e0b65584b98319e5f8acb 100644
(file)
--- a/
target/linux/cns3xxx/base-files/lib/cns3xxx.sh
+++ b/
target/linux/cns3xxx/base-files/lib/cns3xxx.sh
@@
-4,12
+4,12
@@
#
cns3xxx_board_name() {
-
local machine
-
local name
+ local machine
+ local name
-
machine=$(awk 'BEGIN{FS="[ \t]+:[ \t]"} /Hardware/ {print $2}' /proc/cpuinfo)
+ machine=$(awk 'BEGIN{FS="[ \t]+:[ \t]"} /Hardware/ {print $2}' /proc/cpuinfo)
-
case "$machine" in
+ case "$machine" in
"Gateworks Corporation Laguna"*)
name="laguna"
;;