summaryrefslogtreecommitdiff
path: root/recipes-core
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-08-28 09:40:28 -0500
commitf8855d161484b5d01fb625b1efe8d84617a9dd83 (patch)
tree72136ba1f7fcbe0de5b72499aae4a979ee7a0e4b /recipes-core
parent82637b4c3d77b8b16ee20646d4407bf36cc86dd5 (diff)
downloadmeta-mlinux-f8855d161484b5d01fb625b1efe8d84617a9dd83.tar.gz
meta-mlinux-f8855d161484b5d01fb625b1efe8d84617a9dd83.tar.bz2
meta-mlinux-f8855d161484b5d01fb625b1efe8d84617a9dd83.zip
Put in the correct values for the number of parameters check
Diffstat (limited to 'recipes-core')
-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