projects
/
packages.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[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
+++ b/
multimedia/mjpg-streamer/files/mjpg-streamer.hotplug
@@ -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
+