mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-27 12:46:53 +00:00
lirc:
- some cleanups and cosmetics to the init script
This commit is contained in:
parent
9c9a2c9364
commit
c63b37d59f
@ -2,11 +2,17 @@
|
|||||||
#
|
#
|
||||||
# runlevels: openelec, textmode
|
# runlevels: openelec, textmode
|
||||||
|
|
||||||
|
LIRC_DRIVER="default"
|
||||||
|
LIRC_DEVICE="/dev/lirc0"
|
||||||
|
LIRC_OUTPUT="/dev/lircd"
|
||||||
|
|
||||||
(
|
(
|
||||||
progress "Starting LIRC daemon"
|
progress "Starting LIRC daemon"
|
||||||
|
|
||||||
. /etc/lirc.conf
|
|
||||||
|
|
||||||
$IONICE mkdir -p /var/run/lirc
|
$IONICE mkdir -p /var/run/lirc
|
||||||
lircd --driver=$LIRC_DRIVER --device=$LIRC_DEVICE --output=$LIRC_OUTPUT
|
|
||||||
|
lircd --driver=$LIRC_DRIVER \
|
||||||
|
--device=$LIRC_DEVICE \
|
||||||
|
--output=$LIRC_OUTPUT
|
||||||
)&
|
)&
|
||||||
|
Loading…
x
Reference in New Issue
Block a user