From 7564d70e96ca09b1de7eaa8af0b7df0b2f0f258b Mon Sep 17 00:00:00 2001 From: Stefan Saraev Date: Sat, 26 Jan 2013 20:04:07 +0200 Subject: [PATCH] eventlircd: fix -custom_config.patch broken in 201120e --- .../patches/eventlircd-42-002-custom_config.patch | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/packages/sysutils/remote/eventlircd/patches/eventlircd-42-002-custom_config.patch b/packages/sysutils/remote/eventlircd/patches/eventlircd-42-002-custom_config.patch index ad1b4fa78d..9412adce48 100644 --- a/packages/sysutils/remote/eventlircd/patches/eventlircd-42-002-custom_config.patch +++ b/packages/sysutils/remote/eventlircd/patches/eventlircd-42-002-custom_config.patch @@ -1,14 +1,12 @@ 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 +++ b/udev/lircd_helper.in @@ -41,7 +41,11 @@ case "${ACTION}" in daemon="${daemon} --uinput" -- daemon="${daemon} --output=@localstatedir@/run/lirc/lircd-${devname_instance}" -- daemon="${daemon} --pidfile=@localstatedir@/run/lirc/lircd-${devname_instance}.pid" + daemon="${daemon} --output=@localstatedir@/run/lirc/lircd-${devname_instance}" + daemon="${daemon} --pidfile=@localstatedir@/run/lirc/lircd-${devname_instance}.pid" - 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 + daemon="${daemon} /storage/.config/lircd.conf" + else