mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
eventlircd: use /run/lirc instead /var/run/lirc for lircs pid and socket files
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
0070407220
commit
e1bada8bae
@ -17,10 +17,10 @@
|
||||
# along with OpenELEC. If not, see <http://www.gnu.org/licenses/>.
|
||||
################################################################################
|
||||
|
||||
if [ -e /var/run/lirc/lircd.irtrans ]; then
|
||||
XBMC_ARGS="--lircdev /var/run/lirc/lircd.irtrans"
|
||||
if [ -e /run/lirc/lircd.irtrans ]; then
|
||||
XBMC_ARGS="--lircdev /run/lirc/lircd.irtrans"
|
||||
else
|
||||
XBMC_ARGS="--lircdev /var/run/lirc/lircd"
|
||||
XBMC_ARGS="--lircdev /run/lirc/lircd"
|
||||
fi
|
||||
|
||||
echo "XBMC_ARGS=\"$XBMC_ARGS\"" > /run/openelec/xbmc.conf
|
||||
|
@ -2,7 +2,7 @@
|
||||
Description=Eventlirc server daemon
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/sbin/eventlircd -f --evmap=/etc/eventlircd.d --socket=/var/run/lirc/lircd --release=_UP
|
||||
ExecStart=/usr/sbin/eventlircd -f --evmap=/etc/eventlircd.d --socket=/run/lirc/lircd --release=_UP
|
||||
KillMode=process
|
||||
TimeoutStopSec=1s
|
||||
|
||||
|
@ -16,4 +16,4 @@
|
||||
# along with OpenELEC. If not, see <http://www.gnu.org/licenses/>.
|
||||
################################################################################
|
||||
|
||||
d /var/run/lirc 0755 root root - -
|
||||
d /run/lirc 0755 root root - -
|
||||
|
@ -16,4 +16,4 @@
|
||||
# along with OpenELEC. If not, see <http://www.gnu.org/licenses/>.
|
||||
################################################################################
|
||||
|
||||
d /var/run/lirc 0755 root root - -
|
||||
d /run/lirc 0755 root root - -
|
||||
|
Loading…
x
Reference in New Issue
Block a user