diff options
author | Luka Perkov <luka@openwrt.org> | 2012-11-07 23:12:06 +0000 |
---|---|---|
committer | Luka Perkov <luka@openwrt.org> | 2012-11-07 23:12:06 +0000 |
commit | 7afe9fb30663ba4f60b0e8c2b70e1c1ff503eef4 (patch) | |
tree | a606010bbae9b6320990c58127b60f983a5f22ef /target | |
parent | 12d41e1668f606fc4ec74408bf81ccd0b2ef3b4e (diff) | |
download | upstream-7afe9fb30663ba4f60b0e8c2b70e1c1ff503eef4.tar.gz upstream-7afe9fb30663ba4f60b0e8c2b70e1c1ff503eef4.tar.bz2 upstream-7afe9fb30663ba4f60b0e8c2b70e1c1ff503eef4.zip |
cns3xxx: fix coding style in board script
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34113 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rw-r--r-- | target/linux/cns3xxx/base-files/lib/cns3xxx.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/target/linux/cns3xxx/base-files/lib/cns3xxx.sh b/target/linux/cns3xxx/base-files/lib/cns3xxx.sh index d446777c02..476f9be21d 100644 --- 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" ;; |