mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 05:06:43 +00:00
lirc:
- simplyfing init script
This commit is contained in:
parent
2ee3ac7106
commit
37fac13fc1
@ -1,12 +1,8 @@
|
|||||||
#!/bin/sh
|
|
||||||
#
|
|
||||||
# start the LIRC daemon
|
# start the LIRC daemon
|
||||||
#
|
#
|
||||||
# runlevels: openelec, text, debug
|
# runlevels: openelec, text, debug
|
||||||
|
|
||||||
(
|
(
|
||||||
. /etc/sysconfig
|
|
||||||
|
|
||||||
progress "Starting LIRC daemon"
|
progress "Starting LIRC daemon"
|
||||||
|
|
||||||
# insert needed modules
|
# insert needed modules
|
||||||
@ -19,5 +15,3 @@
|
|||||||
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
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user