diff options
author | John Klug <john.klug@multitech.com> | 2017-08-28 09:40:28 -0500 |
---|---|---|
committer | John Klug <john.klug@multitech.com> | 2017-08-28 09:40:28 -0500 |
commit | f8855d161484b5d01fb625b1efe8d84617a9dd83 (patch) | |
tree | 72136ba1f7fcbe0de5b72499aae4a979ee7a0e4b /recipes-core | |
parent | 82637b4c3d77b8b16ee20646d4407bf36cc86dd5 (diff) | |
download | meta-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-x | recipes-core/multitech/cell-radio-fwswitch/cell-radio-fwswitch.sh | 2 |
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 |