- fix kernel panic if we exit xbmc normally
- fix starting of windowmanager
- better fastboot support
This commit is contained in:
Stephan Raue 2010-03-15 04:48:30 +01:00
parent e521d554ed
commit 5ce2f1c050

View File

@ -13,13 +13,13 @@ fi
while true; do while true; do
[ $START_WM="yes" ] && $WINDOWMANAGER & [ "$START_WM" = "yes" ] && $WINDOWMANAGER &
$XBMC_BIN $XBMC_ARGS $@ > /dev/null 2>&1 $IONICE $XBMC_BIN $XBMC_ARGS $@ > /dev/null 2>&1
RET=$? RET=$?
echo "Exited with code $RET" echo "Exited with code $RET"
[ "$RET" == 0 ] && break [ "$RET" == 0 ] && sync && poweroff
[ "$RET" == 64 ] && sync && poweroff [ "$RET" == 64 ] && sync && poweroff
[ "$RET" == 66 ] && sync && reboot [ "$RET" == 66 ] && sync && reboot