summaryrefslogtreecommitdiff
path: root/recipes/multitech/mts-io/mts-io.init
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/multitech/mts-io/mts-io.init')
-rw-r--r--recipes/multitech/mts-io/mts-io.init20
1 files changed, 20 insertions, 0 deletions
diff --git a/recipes/multitech/mts-io/mts-io.init b/recipes/multitech/mts-io/mts-io.init
new file mode 100644
index 0000000000..77dd0e290d
--- /dev/null
+++ b/recipes/multitech/mts-io/mts-io.init
@@ -0,0 +1,20 @@
+#!/bin/sh
+
+case $1 in
+ start)
+ echo "Loading mts-io module"
+ modprobe mts_io
+ ;;
+
+ stop)
+ echo "Unloading mts-io module"
+ modprobe -r mts_io
+ ;;
+
+ *)
+ echo "Usage: $0 {start|stop}"
+ exit 2
+ ;;
+esac
+
+