Add a simple wait to ES incase mount_games hasn't completed yet.
This commit is contained in:
parent
65f4452796
commit
02466cf5bd
3 changed files with 15 additions and 1 deletions
|
@ -9,11 +9,14 @@ UPDATE_ROOT="/storage/.update"
|
|||
MOUNT_GAMES=$(get_setting system.automount)
|
||||
GAMES_DEVICE=$(get_setting system.gamesdevice)
|
||||
|
||||
touch /storage/.mounting
|
||||
|
||||
if [[ ! "${MOUNT_GAMES}" =~ [0-9] ]]
|
||||
then
|
||||
set_setting system.automount 1
|
||||
elif [[ "${MOUNT_GAMES}" == "0" ]]
|
||||
then
|
||||
rm /storage/.mounting
|
||||
exit 0
|
||||
fi
|
||||
|
||||
|
@ -69,4 +72,5 @@ then
|
|||
else
|
||||
find_games
|
||||
fi
|
||||
|
||||
i
|
||||
rm /storage/.mounting
|
||||
|
|
|
@ -9,6 +9,11 @@
|
|||
set_audio alsa
|
||||
export SDL_AUDIODRIVER=alsa
|
||||
|
||||
while [ -e "/storage/.mounting" ]
|
||||
do
|
||||
sleep .5
|
||||
done
|
||||
|
||||
TZ=$(get_setting system.timezone)
|
||||
echo -n "TIMEZONE=${TZ}" > /storage/.cache/timezone
|
||||
echo -n "${TZ}" >/storage/.cache/system_timezone
|
||||
|
|
|
@ -9,6 +9,11 @@
|
|||
set_audio alsa
|
||||
export SDL_AUDIODRIVER=alsa
|
||||
|
||||
while [ -e "/storage/.mounting" ]
|
||||
do
|
||||
sleep .5
|
||||
done
|
||||
|
||||
TZ=$(get_setting system.timezone)
|
||||
echo -n "TIMEZONE=${TZ}" > /storage/.cache/timezone
|
||||
echo -n "${TZ}" >/storage/.cache/system_timezone
|
||||
|
|
Loading…
Reference in a new issue