|
@@ -39,6 +39,9 @@ while true; do
|
|
|
else
|
|
|
if [ -f "${GMENU2X_FILE}" ]; then
|
|
|
|
|
|
+ # Force stop ampli (no sound in gmenu2x)
|
|
|
+ start_audio_amp 0
|
|
|
+
|
|
|
# Launch gmenu2x
|
|
|
gmenu2x&
|
|
|
else
|
|
@@ -53,6 +56,11 @@ while true; do
|
|
|
wait $!
|
|
|
erase_pid
|
|
|
|
|
|
+ # Restart ampli audio if necessary
|
|
|
+ if [[ "$(volume_get)" -ne "0" ]]; then
|
|
|
+ start_audio_amp 1 >/dev/null 2>&1
|
|
|
+ fi
|
|
|
+
|
|
|
# In case retrofe quits with errors, clear graphic VT
|
|
|
termfix_all
|
|
|
fi
|