mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-01 15:07:49 +00:00
irserver: start init scripts on RUNLEVEL=boot
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
1b7ba9e050
commit
c676944c77
@ -25,7 +25,9 @@
|
||||
[ -f /storage/.config/remote.conf ] && . /storage/.config/remote.conf
|
||||
[ -f /storage/.config/lcd.conf ] && . /storage/.config/lcd.conf
|
||||
|
||||
if [ "$REMOTE_BACKEND" = "irtrans" -o "$LCD_DRIVER" = "irtrans" ]; then
|
||||
case $RUNLEVEL in
|
||||
boot)
|
||||
if [ "$REMOTE_BACKEND" = "irtrans" -o "$LCD_DRIVER" = "irtrans" ]; then
|
||||
|
||||
progress "Starting IRtrans daemon"
|
||||
|
||||
@ -37,4 +39,9 @@ if [ "$REMOTE_BACKEND" = "irtrans" -o "$LCD_DRIVER" = "irtrans" ]; then
|
||||
irserver -logfile /var/log/irserver.log -pidfile /var/run/irserver.pid \
|
||||
$IRSERVER_ARG -daemon /dev/irtrans0 > /dev/null 2>&1
|
||||
|
||||
fi
|
||||
fi
|
||||
;;
|
||||
|
||||
poweroff|reboot)
|
||||
;;
|
||||
esac
|
||||
|
Loading…
x
Reference in New Issue
Block a user