12 lines
179 B
Plaintext
12 lines
179 B
Plaintext
case "$ACTION" in
|
|
add)
|
|
# start process
|
|
/etc/init.d/mjpg-streamer start
|
|
;;
|
|
remove)
|
|
# stop process
|
|
/etc/init.d/mjpg-streamer stop
|
|
;;
|
|
esac
|
|
|