mirror of
https://github.com/LibreELEC/LibreELEC.tv
synced 2025-09-24 19:46:01 +07:00
xbmc: start init scripts on RUNLEVEL=boot
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user