mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-03-31 14:41:55 -07:00
lirc:
- faster starting
This commit is contained in:
@@ -4,18 +4,20 @@
|
||||
#
|
||||
# runlevels: openelec, text, debug
|
||||
|
||||
. /etc/sysconfig
|
||||
(
|
||||
. /etc/sysconfig
|
||||
|
||||
progress "Starting LIRC daemon"
|
||||
progress "Starting LIRC daemon"
|
||||
|
||||
# insert needed modules
|
||||
IFS='|'
|
||||
for module in $LIRC_MODULES; do
|
||||
eval "modprobe $module" >/dev/null 2>&1
|
||||
done
|
||||
# insert needed modules
|
||||
IFS='|'
|
||||
for module in $LIRC_MODULES; do
|
||||
eval "modprobe $module" >/dev/null 2>&1
|
||||
done
|
||||
|
||||
# start lircd
|
||||
mkdir -p /var/run/lirc
|
||||
lircd --driver=$LIRC_DRIVER --device=$LIRC_DEVICE --output=$LIRC_OUTPUT &
|
||||
# start lircd
|
||||
mkdir -p /var/run/lirc
|
||||
lircd --driver=$LIRC_DRIVER --device=$LIRC_DEVICE --output=$LIRC_OUTPUT
|
||||
)&
|
||||
|
||||
exit 0
|
||||
|
||||
Reference in New Issue
Block a user