xbmc: start init scripts on RUNLEVEL=boot

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2011-09-07 23:09:23 +02:00
parent dd1f73885f
commit 2e59361b82
2 changed files with 112 additions and 98 deletions

View File

@ -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

View File

@ -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