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

epel8
Alec Leamas 11 years ago
parent 49e24f1012
commit 122e60c2c0

@ -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]

Loading…
Cancel
Save