summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2009-05-19 14:00:28 +0200
committerGravatar Nikias Bassen2009-05-19 14:00:28 +0200
commit5d34c2e7c70de039c75c7a39933b98d14a659176 (patch)
tree7ea967cdc456962558d7f37c3e1976b1ae41631d
parente1efbba597356f068b5cf90b16527170ad625b41 (diff)
downloadusbmuxd-5d34c2e7c70de039c75c7a39933b98d14a659176.tar.gz
usbmuxd-5d34c2e7c70de039c75c7a39933b98d14a659176.tar.bz2
modified udev rules file to reflect autoconf prefix specification
-rw-r--r--configure.ac1
-rw-r--r--udev/85-usbmuxd.rules.in (renamed from udev/85-usbmuxd.rules)4
2 files changed, 3 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac
index 03d207f..55ce7af 100644
--- a/configure.ac
+++ b/configure.ac
@@ -24,6 +24,7 @@ AC_OUTPUT([
Makefile
src/Makefile
tools/Makefile
+udev/85-usbmuxd.rules
udev/Makefile
libusbmuxd.pc
])
diff --git a/udev/85-usbmuxd.rules b/udev/85-usbmuxd.rules.in
index 69ddef8..e661ccd 100644
--- a/udev/85-usbmuxd.rules
+++ b/udev/85-usbmuxd.rules.in
@@ -30,8 +30,8 @@ ACTION=="add", SUBSYSTEM=="usb_endpoint", KERNEL=="usbdev*_ep04", SYMLINK+="usbm
ACTION=="add", SUBSYSTEM=="usb_endpoint", KERNEL=="usbdev*_ep85", SYMLINK+="usbmux/out"
# Start and stop 'usbmuxd' as required.
-ACTION=="add", SUBSYSTEM=="usb_endpoint", KERNEL=="usbdev*_ep85", RUN+="/sbin/start-stop-daemon --start --oknodo --exec /usr/local/sbin/usbmuxd"
-ACTION=="remove", SUBSYSTEM=="usb_endpoint", KERNEL=="usbdev*_ep85", RUN+="/sbin/start-stop-daemon --stop --signal 2 --exec /usr/local/sbin/usbmuxd"
+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"
# skip
LABEL="usbmuxd_rules_end"