mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-27 20:56:55 +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/>.
|
# along with OpenELEC. If not, see <http://www.gnu.org/licenses/>.
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
if [ -e /var/run/lirc/lircd.irtrans ]; then
|
if [ -e /run/lirc/lircd.irtrans ]; then
|
||||||
XBMC_ARGS="--lircdev /var/run/lirc/lircd.irtrans"
|
XBMC_ARGS="--lircdev /run/lirc/lircd.irtrans"
|
||||||
else
|
else
|
||||||
XBMC_ARGS="--lircdev /var/run/lirc/lircd"
|
XBMC_ARGS="--lircdev /run/lirc/lircd"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "XBMC_ARGS=\"$XBMC_ARGS\"" > /run/openelec/xbmc.conf
|
echo "XBMC_ARGS=\"$XBMC_ARGS\"" > /run/openelec/xbmc.conf
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
Description=Eventlirc server daemon
|
Description=Eventlirc server daemon
|
||||||
|
|
||||||
[Service]
|
[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
|
KillMode=process
|
||||||
TimeoutStopSec=1s
|
TimeoutStopSec=1s
|
||||||
|
|
||||||
|
@ -16,4 +16,4 @@
|
|||||||
# along with OpenELEC. If not, see <http://www.gnu.org/licenses/>.
|
# 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/>.
|
# 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