[package] use stable mjpg-streamer version, add init, config files and hotplug suppor...
[packages.git] / multimedia / mjpg-streamer / files / mjpg-streamer.hotplug
diff --git a/multimedia/mjpg-streamer/files/mjpg-streamer.hotplug b/multimedia/mjpg-streamer/files/mjpg-streamer.hotplug
new file mode 100644 (file)
index 0000000..c6f29cc
--- /dev/null
@@ -0,0 +1,11 @@
+case "$ACTION" in
+       add)
+               # start process
+               /etc/init.d/mjpg-streamer start
+               ;;
+       remove)
+               # stop process
+               /etc/init.d/mjpg-streamer stop
+               ;;
+esac
+