Package: brltty / 5.2~20141018-5

20-sbin.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Description: adust paths in startup scripts
 Since BRLTTY on Debian is installed in /sbin, the upstart configuration and the
 udev rule have to be patched to run /sbin/brltty instead of /bin/brltty.
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/Autostart/Udev/udev.rules
+++ b/Autostart/Udev/udev.rules
@@ -329,7 +329,7 @@ GOTO="brltty_end"

 LABEL="brltty_add"
 SYMLINK+="brltty/$env{BRLTTY_BRAILLE_DRIVER}-$env{BRLTTY_BRAILLE_DEVICE}"
-RUN+="/bin/brltty -E -P$env{BRLTTY_PID_FILE}"
+RUN+="/sbin/brltty -E -P$env{BRLTTY_PID_FILE}"
 GOTO="brltty_end"

 LABEL="brltty_remove"
--- a/Autostart/Upstart/brltty.conf
+++ b/Autostart/Upstart/brltty.conf
@@ -13,4 +13,4 @@
 start on startup
 console output
 respawn
-exec /bin/brltty -n
+exec /sbin/brltty -n