From 0ae578fd7955cae5c63cc6e80ee46aaad12a5279 Mon Sep 17 00:00:00 2001 From: Mykyta Dorokhin Date: Tue, 15 May 2018 15:50:24 +0300 Subject: Move radio-reset init scripts to a separate recipe. --- recipes-bsp/multitech/mts-io/radio-reset.init | 30 --------------------------- 1 file changed, 30 deletions(-) delete mode 100644 recipes-bsp/multitech/mts-io/radio-reset.init (limited to 'recipes-bsp/multitech/mts-io/radio-reset.init') 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 -- cgit v1.2.3