mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
lirc:
- faster starting
This commit is contained in:
parent
924f3ffd4d
commit
2a162947b0
@ -4,18 +4,20 @@
|
|||||||
#
|
#
|
||||||
# runlevels: openelec, text, debug
|
# runlevels: openelec, text, debug
|
||||||
|
|
||||||
. /etc/sysconfig
|
(
|
||||||
|
. /etc/sysconfig
|
||||||
|
|
||||||
progress "Starting LIRC daemon"
|
progress "Starting LIRC daemon"
|
||||||
|
|
||||||
# insert needed modules
|
# insert needed modules
|
||||||
IFS='|'
|
IFS='|'
|
||||||
for module in $LIRC_MODULES; do
|
for module in $LIRC_MODULES; do
|
||||||
eval "modprobe $module" >/dev/null 2>&1
|
eval "modprobe $module" >/dev/null 2>&1
|
||||||
done
|
done
|
||||||
|
|
||||||
# start lircd
|
# start lircd
|
||||||
mkdir -p /var/run/lirc
|
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
|
||||||
|
)&
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user