diff options
author | John Klug <john.klug@multitech.com> | 2017-08-25 19:35:04 -0500 |
---|---|---|
committer | John Klug <john.klug@multitech.com> | 2017-08-25 19:35:04 -0500 |
commit | 8407594e7a5e256c20f5be1c340fa977308ca26e (patch) | |
tree | 706a73b8edbf5bccacd0ae07b3588b1805457c12 | |
parent | 71044a738cb70f9936500ff6ec8eb520c78a99c1 (diff) | |
download | meta-mlinux-8407594e7a5e256c20f5be1c340fa977308ca26e.tar.gz meta-mlinux-8407594e7a5e256c20f5be1c340fa977308ca26e.tar.bz2 meta-mlinux-8407594e7a5e256c20f5be1c340fa977308ca26e.zip |
Correct the valid firmware image number to 0 and 1
-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 |