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 | 4d66b749deda7115ad59b3b90c287c5fd1ef770b (patch) | |
tree | 5a78250127f0360b5edced9b1d2f4eebf535a3a9 /target/linux/cns3xxx/base-files/lib/cns3xxx.sh | |
parent | 6090ddc896d0295d57fccbdfd11fb544cff3f920 (diff) | |
download | master-31e0f0ae-4d66b749deda7115ad59b3b90c287c5fd1ef770b.tar.gz master-31e0f0ae-4d66b749deda7115ad59b3b90c287c5fd1ef770b.tar.bz2 master-31e0f0ae-4d66b749deda7115ad59b3b90c287c5fd1ef770b.zip |
cns3xxx: fix coding style in board script
SVN-Revision: 34113
Diffstat (limited to 'target/linux/cns3xxx/base-files/lib/cns3xxx.sh')
-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" ;; |