diff options
Diffstat (limited to 'recipes-core/mlinux-scripts/mlinux-scripts-1.1/mlinux-switch-cell-fw')
-rwxr-xr-x | recipes-core/mlinux-scripts/mlinux-scripts-1.1/mlinux-switch-cell-fw | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/recipes-core/mlinux-scripts/mlinux-scripts-1.1/mlinux-switch-cell-fw b/recipes-core/mlinux-scripts/mlinux-scripts-1.1/mlinux-switch-cell-fw index a101e56..ee58d66 100755 --- a/recipes-core/mlinux-scripts/mlinux-scripts-1.1/mlinux-switch-cell-fw +++ b/recipes-core/mlinux-scripts/mlinux-scripts-1.1/mlinux-switch-cell-fw @@ -34,8 +34,9 @@ fi # # Applicable for LTE910-NA1 with dual FW images only # -if [ "$MODEL" != "LE910-NA1" ]; then - [ "$VERBOSE" ] && echo "Firmware switch is supported only on LE910-NA1 models." +productid=$(/usr/sbin/mts-io-sysfs show product-id) +if [[ $MODEL != LE910-NA1 ]] || ! [[ $productid =~ -LNA3- ]] ; then + [ "$VERBOSE" ] && echo "Firmware switch is supported only on LE910-NA1 models with product-id containing -LNA3-." exit 0 fi |