diff options
author | Mykyta Dorokhin <mykyta.dorokhin@globallogic.com> | 2018-05-15 15:50:24 +0300 |
---|---|---|
committer | John Klug <john.klug@multitech.com> | 2018-05-15 12:03:49 -0500 |
commit | 0ae578fd7955cae5c63cc6e80ee46aaad12a5279 (patch) | |
tree | 7e88d7635af39d190544570c23a45953c162ff01 /recipes-bsp/multitech/mts-io/radio-reset.init | |
parent | d89ab03409d531d21a791108367ae68d0a1f22a0 (diff) | |
download | meta-multitech-0ae578fd7955cae5c63cc6e80ee46aaad12a5279.tar.gz meta-multitech-0ae578fd7955cae5c63cc6e80ee46aaad12a5279.tar.bz2 meta-multitech-0ae578fd7955cae5c63cc6e80ee46aaad12a5279.zip |
Move radio-reset init scripts to a separate recipe.
Diffstat (limited to 'recipes-bsp/multitech/mts-io/radio-reset.init')
-rw-r--r-- | recipes-bsp/multitech/mts-io/radio-reset.init | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/recipes-bsp/multitech/mts-io/radio-reset.init b/recipes-bsp/multitech/mts-io/radio-reset.init deleted file mode 100644 index f469df4..0000000 --- a/recipes-bsp/multitech/mts-io/radio-reset.init +++ /dev/null @@ -1,30 +0,0 @@ -#!/bin/sh - -ENABLED="yes" - -if ! [[ -w /sys/devices/platform/mts-io/radio-reset ]] ; then - exit 0 -fi -[ -r /etc/default/radio-reset ] && source /etc/default/radio-reset - -case $1 in - start) - if [[ $ENABLED == "yes" ]] && [[ $START == "yes" ]] ; then - mts-io-sysfs store radio-reset 0 - echo "Resetting cellular radio" - fi - ;; - stop) - if [[ $ENABLED == "yes" ]] && [[ $STOP == "yes" ]] ; then - mts-io-sysfs store radio-reset 0 - echo "Resetting cellular radio" - fi - ;; - reload) - mts-io-sysfs store radio-reset 0 - ;; - *) - echo "Usage: $0 {start|stop|reload}" - exit 2 - ;; -esac |