Kodi Community Forum

Full Version: Autostart XBMC - Delay problem
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,

I installed Ubuntu 13.04 raring as base for my new intel i3 based htpc. When the system boots I can see the commandline for a few seconds before XBMC start, how can I eliminate this delay?

My autorun script looks like this:

http://paste.kde.org/7022/raw/


Regards,

pixel
Use this autostart.

Code:
# xbmc-upstart
# starts XBMC on startup by using xinit.
# by default runs as xbmc, to change edit below.
env USER=xbmc

description     "XBMC-barebones-upstart-script"
author          "Matt Filetto"

start on (filesystem and stopped udevtrigger)
stop on runlevel [016]

# tell upstart to respawn the process if abnormal exit
respawn

script
  exec su -c "xinit /usr/bin/xbmc --standalone -- -nocursor :0" $USER
end script

Where env USER=xbmc is the username running XBMC as above example the username is xbmc.

uNi