mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-03-31 14:41:55 -07:00
19 lines
396 B
Plaintext
Executable File
19 lines
396 B
Plaintext
Executable File
# start the LIRC daemon
|
|
#
|
|
# runlevels: openelec, textmode
|
|
|
|
[ -f /storage/.config/remote.conf ] && . /storage/.config/remote.conf
|
|
|
|
if [ "$REMOTE_BACKEND" = "lirc" ]; then
|
|
|
|
progress "Starting LIRC daemon"
|
|
|
|
LIRC_DRIVER="default"
|
|
LIRC_DEVICE="/dev/lirc0"
|
|
LIRC_OUTPUT="/dev/lircd"
|
|
|
|
$IONICE mkdir -p /var/run/lirc
|
|
lircd --driver=$LIRC_DRIVER --device=$LIRC_DEVICE --output=$LIRC_OUTPUT
|
|
|
|
fi
|