diff options
author | John Klug <john.klug@multitech.com> | 2017-08-25 19:35:04 -0500 |
---|---|---|
committer | John Klug <john.klug@multitech.com> | 2017-09-14 17:29:28 -0500 |
commit | 1e9c293760368bcfe7ce4e6e932a44266b743881 (patch) | |
tree | ef0261ff96de46522e39e565650417e9c74af1ec /recipes-core/multitech | |
parent | 0905bccd773c060999563665b873a06255cb03f8 (diff) | |
download | meta-mlinux-1e9c293760368bcfe7ce4e6e932a44266b743881.tar.gz meta-mlinux-1e9c293760368bcfe7ce4e6e932a44266b743881.tar.bz2 meta-mlinux-1e9c293760368bcfe7ce4e6e932a44266b743881.zip |
Correct the valid firmware image number to 0 and 1
Diffstat (limited to 'recipes-core/multitech')
-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 861532b..6e127e6 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 2 ] || [ $# -lt 1 ]; then +if [ $# -gt 1 ] || [ $# -lt 0 ]; 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 |