summaryrefslogtreecommitdiff
path: root/recipes-bsp/multitech/mts-io/radio-reset.init
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-bsp/multitech/mts-io/radio-reset.init')
-rw-r--r--recipes-bsp/multitech/mts-io/radio-reset.init15
1 files changed, 15 insertions, 0 deletions
diff --git a/recipes-bsp/multitech/mts-io/radio-reset.init b/recipes-bsp/multitech/mts-io/radio-reset.init
new file mode 100644
index 0000000..6fec217
--- /dev/null
+++ b/recipes-bsp/multitech/mts-io/radio-reset.init
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+case $1 in
+ stop)
+ echo "Resetting cellular radio"
+ mts-io-sysfs store radio-reset 0
+ ;;
+
+ *)
+ echo "Usage: $0 {stop}"
+ exit 2
+ ;;
+esac
+
+