2012-10-18, 02:14
(2012-10-17, 23:17)Hack_kid Wrote: yeah dude its the solid state
heres finished version with user variable and i got rid of startx since xinit does the same thing ?
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 :0" $USER
end script
This is great work, not only eliminating the idle startx middle-man, if only we can control start | Stop | restart not via /etc/init.d/ stop but rather stop | start | restart xbmc, as well as making sure xbmc is starting at the correct TTY like it was already said., I think the other did this too., its useful if you want to compile or have multiple xbmc installs ++++1 the hack-kid strikes again! Good work man.
Where can we + someone Cant see it
I digress.
uNi