From 1e9c293760368bcfe7ce4e6e932a44266b743881 Mon Sep 17 00:00:00 2001 From: John Klug Date: Fri, 25 Aug 2017 19:35:04 -0500 Subject: Correct the valid firmware image number to 0 and 1 --- recipes-core/multitech/cell-radio-fwswitch/cell-radio-fwswitch.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'recipes-core') 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 [timeout] image_id <0|1> : for dual FW image SKU-s, the id of the image to switch to -- cgit v1.2.3