summaryrefslogtreecommitdiff
path: root/recipes-core/multitech
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2017-08-28 09:40:28 -0500
committerJohn Klug <john.klug@multitech.com>2017-09-14 17:30:16 -0500
commit9e2c4ae6d47ff94fa451983c85455d531f8b0a29 (patch)
tree99b83d1c52a0ce920adef2259f09f5fd6f8decfa /recipes-core/multitech
parentda6f56de0a62f223ebdbbb0d93977982245f2357 (diff)
downloadmeta-mlinux-9e2c4ae6d47ff94fa451983c85455d531f8b0a29.tar.gz
meta-mlinux-9e2c4ae6d47ff94fa451983c85455d531f8b0a29.tar.bz2
meta-mlinux-9e2c4ae6d47ff94fa451983c85455d531f8b0a29.zip
Put in the correct values for the number of parameters check
Diffstat (limited to 'recipes-core/multitech')
-rwxr-xr-xrecipes-core/multitech/cell-radio-fwswitch/cell-radio-fwswitch.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-core/multitech/cell-radio-fwswitch/cell-radio-fwswitch.sh b/recipes-core/multitech/cell-radio-fwswitch/cell-radio-fwswitch.sh
index 94c69ca..fdf21f0 100755
--- a/recipes-core/multitech/cell-radio-fwswitch/cell-radio-fwswitch.sh
+++ b/recipes-core/multitech/cell-radio-fwswitch/cell-radio-fwswitch.sh
@@ -1,7 +1,7 @@
#!/bin/sh
-if [ $# -gt 1 ] || [ $# -lt 0 ]; then
+if [ $# -gt 2 ] || [ $# -lt 1 ]; then
echo "\
Usage: $0 <image_id> [timeout]
image_id <0|1> : for dual FW image SKU-s, the id of the image to switch to