2008-11-25, 19:06
So by default in XBMCLive i have this
I notice the Shutdown/Reboot and Restart cases have no real operations, what does the actual rebooting and restarting?
Some times if XBMC crashes i would like to have it restart the X server, because i need the xorg.conf re-loaded so that HD1080i mode is restored on my HDTV.
Currently if XBMC crashes, it just sits there because i belive the HDTV goes into an invalid mode.
Code:
#!/bin/bash
export XBMC_PLATFORM_MODE=1
/usr/share/xbmc/xbmc.bin -q -p --standalone
case "$?" in
0 ) # Quit
touch /tmp/noRestartXBMC
break ;;
64 ) # Shutdown System
sleep 10 ;;
65 ) # Warm Reboot
echo Restarting XBMC ... ;;
66 ) # Reboot System
sleep 10 ;;
* ) ;;
esac
I notice the Shutdown/Reboot and Restart cases have no real operations, what does the actual rebooting and restarting?
Some times if XBMC crashes i would like to have it restart the X server, because i need the xorg.conf re-loaded so that HD1080i mode is restored on my HDTV.
Currently if XBMC crashes, it just sits there because i belive the HDTV goes into an invalid mode.