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