mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-01 23:17:50 +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,6 +25,8 @@
|
|||||||
[ -f /storage/.config/remote.conf ] && . /storage/.config/remote.conf
|
[ -f /storage/.config/remote.conf ] && . /storage/.config/remote.conf
|
||||||
[ -f /storage/.config/lcd.conf ] && . /storage/.config/lcd.conf
|
[ -f /storage/.config/lcd.conf ] && . /storage/.config/lcd.conf
|
||||||
|
|
||||||
|
case $RUNLEVEL in
|
||||||
|
boot)
|
||||||
if [ "$REMOTE_BACKEND" = "irtrans" -o "$LCD_DRIVER" = "irtrans" ]; then
|
if [ "$REMOTE_BACKEND" = "irtrans" -o "$LCD_DRIVER" = "irtrans" ]; then
|
||||||
|
|
||||||
progress "Starting IRtrans daemon"
|
progress "Starting IRtrans daemon"
|
||||||
@ -38,3 +40,8 @@ if [ "$REMOTE_BACKEND" = "irtrans" -o "$LCD_DRIVER" = "irtrans" ]; then
|
|||||||
$IRSERVER_ARG -daemon /dev/irtrans0 > /dev/null 2>&1
|
$IRSERVER_ARG -daemon /dev/irtrans0 > /dev/null 2>&1
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
;;
|
||||||
|
|
||||||
|
poweroff|reboot)
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
Loading…
x
Reference in New Issue
Block a user