Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Diff of /tools/XBMCLive/runXBMC [c93e99] .. [7efa5a] Maximize Restore

Repo status: analyzing...

  Switch to side-by-side view

--- a/tools/XBMCLive/runXBMC
+++ b/tools/XBMCLive/runXBMC
@@ -48,7 +48,7 @@
 	fi
 
 	echo "#!/bin/bash" >  /home/$xbmcUser/.xsession
-	echo "ulimit -c 0" >>  /home/$xbmcUser/.xsession
+	echo "alsactl restore -f ~/.asoundrc" >>  /home/$xbmcUser/.xsession
 	echo "/usr/bin/xbmc --standalone" >>  /home/$xbmcUser/.xsession
 
 	echo "case \"\$?\" in" >>  /home/$xbmcUser/.xsession
@@ -63,6 +63,7 @@
 	echo "        sleep 10 ;;"  >>  /home/$xbmcUser/.xsession
 	echo "     * ) ;;"  >>  /home/$xbmcUser/.xsession
 	echo "esac"  >>  /home/$xbmcUser/.xsession
+	echo "alsactl store -f ~/.asoundrc" >>  /home/$xbmcUser/.xsession
 
 	chown $xbmcUser:$xbmcUser /home/$xbmcUser/.xsession