mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-03-31 14:41:55 -07:00
lirc:
- move to sysutils/remote
This commit is contained in:
@@ -1,18 +0,0 @@
|
||||
# start the LIRC daemon
|
||||
#
|
||||
# runlevels: openelec, textmode
|
||||
|
||||
LIRC_DRIVER="default"
|
||||
LIRC_DEVICE="/dev/lirc0"
|
||||
LIRC_OUTPUT="/dev/lircd"
|
||||
|
||||
(
|
||||
progress "Starting LIRC daemon"
|
||||
|
||||
|
||||
$IONICE mkdir -p /var/run/lirc
|
||||
|
||||
lircd --driver=$LIRC_DRIVER \
|
||||
--device=$LIRC_DEVICE \
|
||||
--output=$LIRC_OUTPUT
|
||||
)&
|
||||
18
packages/sysutils/remote/lirc/init.d/32_lirc
Executable file
18
packages/sysutils/remote/lirc/init.d/32_lirc
Executable file
@@ -0,0 +1,18 @@
|
||||
# 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
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user