From: Luka Perkov Date: Wed, 7 Nov 2012 23:12:06 +0000 (+0000) Subject: cns3xxx: fix coding style in board script X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=4d66b749deda7115ad59b3b90c287c5fd1ef770b;p=openwrt%2Fstaging%2Fdedeckeh.git cns3xxx: fix coding style in board script SVN-Revision: 34113 --- 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" ;;