summaryrefslogtreecommitdiff
path: root/recipes-core/mlinux-scripts/mlinux-scripts-1.1/mlinux-switch-cell-fw
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2017-09-05 18:39:51 -0500
committerJohn Klug <john.klug@multitech.com>2017-09-14 17:38:41 -0500
commit380abd487551ecf881a31c78eb5ad76fce781b6d (patch)
treefd17cdf5a1d144101b0e25cb78e44ffdcebc037a /recipes-core/mlinux-scripts/mlinux-scripts-1.1/mlinux-switch-cell-fw
parentf7e6124afe37d7ffad1efa9e563e9da9cb9f69af (diff)
downloadmeta-mlinux-380abd487551ecf881a31c78eb5ad76fce781b6d.tar.gz
meta-mlinux-380abd487551ecf881a31c78eb5ad76fce781b6d.tar.bz2
meta-mlinux-380abd487551ecf881a31c78eb5ad76fce781b6d.zip
Avoid unnecessary chat switches, and less logging
Diffstat (limited to 'recipes-core/mlinux-scripts/mlinux-scripts-1.1/mlinux-switch-cell-fw')
-rwxr-xr-xrecipes-core/mlinux-scripts/mlinux-scripts-1.1/mlinux-switch-cell-fw4
1 files changed, 2 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 62eb19d..9edacac 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
@@ -24,7 +24,7 @@ FWIMAGE=$1
if ((FWIMAGE < -2)) || ((FWIMAGE > 1)) ; then
usage
fi
-if ! /usr/sbin/mlinux-cell-radio-ready ; then
+if ! >&2 /usr/sbin/mlinux-cell-radio-ready ; then
[ "$VERBOSE" ] && >&2 echo Radio is not ready
[ "$VERBOSE" ] && >&2 echo Try again later
exit 1
@@ -85,7 +85,7 @@ if [ $? -ne 0 ] || [ "$FWACTIVE" == "" ]; then
fi
if (( FWACTIVE == FWIMAGE )); then
- [ "$VERBOSE" ] && >&2 echo "The radio firmware image is already set."
+ echo "Cellular radio firmware has already been switched to $FWIMAGE image."
exit 0
fi