mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-03-31 14:41:55 -07:00
eventlircd: start init scripts on RUNLEVEL=boot
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
@@ -22,8 +22,15 @@
|
||||
#
|
||||
# runlevels: openelec, textmode
|
||||
|
||||
(
|
||||
progress "starting eventlircd"
|
||||
mkdir -p /var/run/lirc
|
||||
eventlircd --evmap=/etc/eventlircd.d --socket=/var/run/lirc/lircd --release=_UP
|
||||
)&
|
||||
case $RUNLEVEL in
|
||||
boot)
|
||||
(
|
||||
progress "starting eventlircd"
|
||||
mkdir -p /var/run/lirc
|
||||
eventlircd --evmap=/etc/eventlircd.d --socket=/var/run/lirc/lircd --release=_UP
|
||||
)&
|
||||
;;
|
||||
|
||||
poweroff|reboot)
|
||||
;;
|
||||
esac
|
||||
|
||||
Reference in New Issue
Block a user