mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 05:06:43 +00:00
eventlircd: fix -custom_config.patch broken in 201120e
This commit is contained in:
parent
aece064802
commit
7564d70e96
@ -1,14 +1,12 @@
|
|||||||
diff --git a/udev/lircd_helper.in b/udev/lircd_helper.in
|
diff --git a/udev/lircd_helper.in b/udev/lircd_helper.in
|
||||||
index f580cc6..6befeed 100644
|
index f580cc6..d4d7f3f 100644
|
||||||
--- a/udev/lircd_helper.in
|
--- a/udev/lircd_helper.in
|
||||||
+++ b/udev/lircd_helper.in
|
+++ b/udev/lircd_helper.in
|
||||||
@@ -41,7 +41,11 @@ case "${ACTION}" in
|
@@ -41,7 +41,11 @@ case "${ACTION}" in
|
||||||
daemon="${daemon} --uinput"
|
daemon="${daemon} --uinput"
|
||||||
- daemon="${daemon} --output=@localstatedir@/run/lirc/lircd-${devname_instance}"
|
daemon="${daemon} --output=@localstatedir@/run/lirc/lircd-${devname_instance}"
|
||||||
- daemon="${daemon} --pidfile=@localstatedir@/run/lirc/lircd-${devname_instance}.pid"
|
daemon="${daemon} --pidfile=@localstatedir@/run/lirc/lircd-${devname_instance}.pid"
|
||||||
- daemon="${daemon} ${lircd_conf}"
|
- daemon="${daemon} ${lircd_conf}"
|
||||||
+ daemon="${daemon} --output=@localstatedir@/run/lirc/lircd"
|
|
||||||
+ daemon="${daemon} --pidfile=@localstatedir@/run/lirc/lircd-${devname_instance}.pid"
|
|
||||||
+ if test -e "/storage/.config/lircd.conf" ; then
|
+ if test -e "/storage/.config/lircd.conf" ; then
|
||||||
+ daemon="${daemon} /storage/.config/lircd.conf"
|
+ daemon="${daemon} /storage/.config/lircd.conf"
|
||||||
+ else
|
+ else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user