blob: 014669483bcb65e390a4725a155175e7ee487d86 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
case "$DEVNAME" in
video*) ;;
*) exit 0 ;;
esac
/etc/init.d/ustreamer enabled || exit 0
# A jailed instance keeps the device node it was started with, so restart
# on add to pick up a new node, and reload on remove to drop the instance.
case "$ACTION" in
add) /etc/init.d/ustreamer restart ;;
remove) /etc/init.d/ustreamer reload ;;
esac
|