diff options
-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" ;; |