summaryrefslogtreecommitdiff
path: root/recipes-bsp/multitech/mts-io/mts-io.init
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2018-05-14 10:50:31 -0500
committerJohn Klug <john.klug@multitech.com>2018-05-14 10:50:31 -0500
commit6a3d1658a46efea65217cf948207f355a78989d6 (patch)
treef13a95bc1e7af335da72c03a125558d2f884a151 /recipes-bsp/multitech/mts-io/mts-io.init
parent838a1534c1c24df74e2cb897feee55aa54d09999 (diff)
downloadmeta-multitech-6a3d1658a46efea65217cf948207f355a78989d6.tar.gz
meta-multitech-6a3d1658a46efea65217cf948207f355a78989d6.tar.bz2
meta-multitech-6a3d1658a46efea65217cf948207f355a78989d6.zip
Move radio reset to /etc/init.d/radio-reset, default is reset on boot, not shutdown
Diffstat (limited to 'recipes-bsp/multitech/mts-io/mts-io.init')
-rw-r--r--recipes-bsp/multitech/mts-io/mts-io.init4
1 files changed, 2 insertions, 2 deletions
diff --git a/recipes-bsp/multitech/mts-io/mts-io.init b/recipes-bsp/multitech/mts-io/mts-io.init
index 42a35c0..d5d0879 100644
--- a/recipes-bsp/multitech/mts-io/mts-io.init
+++ b/recipes-bsp/multitech/mts-io/mts-io.init
@@ -225,7 +225,7 @@ case $1 in
read_card_info
/bin/busybox usleep $USLPTIME
reset_array
- [ -w ${sysdir}/radio-reset ] && ${SYSFS} store radio-reset 0
+ # use radio-reset init script for radio-reset
mfser_init
waitpins
@@ -273,7 +273,7 @@ case $1 in
fi
/bin/busybox usleep $USLPTIME
reset_array
- ${SYSFS} store radio-reset 0
+ # Use radio-reset init script for radio-reset
mfser_init
if ((fail == 0)) ; then
echo "OK"