mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-02 23:47:49 +00:00
xbmc: start init scripts on RUNLEVEL=boot
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
dd1f73885f
commit
2e59361b82
@ -22,6 +22,8 @@
|
||||
#
|
||||
# runlevels: openelec
|
||||
|
||||
case $RUNLEVEL in
|
||||
boot)
|
||||
progress "setup XBMC"
|
||||
|
||||
#
|
||||
@ -131,3 +133,8 @@ EOF
|
||||
fi
|
||||
echo "</settings>" >> $HOME/.xbmc/userdata/guisettings.xml
|
||||
fi
|
||||
;;
|
||||
|
||||
poweroff|reboot)
|
||||
;;
|
||||
esac
|
||||
|
@ -22,6 +22,8 @@
|
||||
#
|
||||
# runlevels: openelec
|
||||
|
||||
case $RUNLEVEL in
|
||||
boot)
|
||||
LIRCDEV="/var/run/lirc/lircd"
|
||||
[ -e /var/run/lirc/lircd.irtrans ] && LIRCDEV="/var/run/lirc/lircd.irtrans"
|
||||
XBMC_ARGS="--standalone -fs --lircdev $LIRCDEV"
|
||||
@ -85,3 +87,8 @@ fi
|
||||
|
||||
usleep 250000
|
||||
done
|
||||
;;
|
||||
|
||||
poweroff|reboot)
|
||||
;;
|
||||
esac
|
||||
|
Loading…
x
Reference in New Issue
Block a user