[lirc/f20] lircd.service: typo, ignore errors when setting up/tearing down.

leamas leamas at fedoraproject.org
Sun Nov 17 03:55:54 UTC 2013


commit 595d4bb33041b847b1f244f6aeea8d3bb9837cdf
Author: Alec Leamas <leamas at nowhere.net>
Date:   Sun Nov 17 04:44:16 2013 +0100

    lircd.service: typo, ignore errors when setting up/tearing down.

 lircd.service |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/lircd.service b/lircd.service
index c765deb..231df21 100644
--- a/lircd.service
+++ b/lircd.service
@@ -5,11 +5,11 @@ After=network.target
 [Service]
 Type=simple
 EnvironmentFile=-/etc/sysconfig/lirc
-ExecStartPre=/bin/sh -c 'test -n "${LIRCD_IR_DEVICE}" && \
+ExecStartPre=-/bin/sh -c 'test -n "${LIRCD_IR_DEVICE}" && \
     echo lirc > /sys/class/rc/${LIRCD_IR_DEVICE}/protocols || :'
 ExecStart=/usr/sbin/lircd ${LIRCD_OPTIONS} \
-    --driver $LIRC_DRIVER --device ${LIRC_DEVICE}  --nodaemon
-ExecStopPost=/bin/sh -c 'test -n "${LIRCD_IR_DEVICE}" && \
+    --driver ${LIRC_DRIVER} --device ${LIRC_DEVICE}  --nodaemon
+ExecStopPost=-/bin/sh -c 'test -n "${LIRCD_IR_DEVICE}" && \
     echo -lirc > /sys/class/rc/${LIRCD_IR_DEVICE}/protocols || :'
 
 [Install]


More information about the scm-commits mailing list