diff options
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 |