mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-03 16:07:51 +00:00
xbmc:
- fix kernel panic if we exit xbmc normally - fix starting of windowmanager - better fastboot support
This commit is contained in:
parent
e521d554ed
commit
5ce2f1c050
@ -13,13 +13,13 @@ fi
|
||||
|
||||
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=$?
|
||||
echo "Exited with code $RET"
|
||||
|
||||
[ "$RET" == 0 ] && break
|
||||
[ "$RET" == 0 ] && sync && poweroff
|
||||
[ "$RET" == 64 ] && sync && poweroff
|
||||
[ "$RET" == 66 ] && sync && reboot
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user