diff options
author | Nikias Bassen | 2009-05-19 16:44:39 +0200 |
---|---|---|
committer | Nikias Bassen | 2009-05-19 16:44:39 +0200 |
commit | 0c55afdb315f12b0f2a37f37a3ec711c75507c0d (patch) | |
tree | 35ed260cae35d9a4744491452becbc0b3531e576 /udev/85-usbmuxd.rules.in | |
parent | 5d34c2e7c70de039c75c7a39933b98d14a659176 (diff) | |
download | usbmuxd-0c55afdb315f12b0f2a37f37a3ec711c75507c0d.tar.gz usbmuxd-0c55afdb315f12b0f2a37f37a3ec711c75507c0d.tar.bz2 |
Let the daemon terminate only when no more device is attached
Diffstat (limited to 'udev/85-usbmuxd.rules.in')
-rw-r--r-- | udev/85-usbmuxd.rules.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/udev/85-usbmuxd.rules.in b/udev/85-usbmuxd.rules.in index e661ccd..7820a36 100644 --- a/udev/85-usbmuxd.rules.in +++ b/udev/85-usbmuxd.rules.in @@ -31,7 +31,7 @@ ACTION=="add", SUBSYSTEM=="usb_endpoint", KERNEL=="usbdev*_ep85", SYMLINK+="usbm # Start and stop 'usbmuxd' as required. ACTION=="add", SUBSYSTEM=="usb_endpoint", KERNEL=="usbdev*_ep85", RUN+="/sbin/start-stop-daemon --start --oknodo --exec @prefix@/sbin/usbmuxd" -ACTION=="remove", SUBSYSTEM=="usb_endpoint", KERNEL=="usbdev*_ep85", RUN+="/sbin/start-stop-daemon --stop --signal 2 --exec @prefix@/sbin/usbmuxd" +ACTION=="remove", SUBSYSTEM=="usb_endpoint", KERNEL=="usbdev*_ep85", RUN+="/sbin/start-stop-daemon --stop --signal 3 --exec @prefix@/sbin/usbmuxd" # skip LABEL="usbmuxd_rules_end" |