* Ignore the "No soundcards found" error.

svn path=/nixos/trunk/; revision=33224
This commit is contained in:
Eelco Dolstra 2012-03-18 02:36:21 +00:00
parent 86d8d62d16
commit 83f5d26a85

View File

@ -55,13 +55,13 @@ in
mkdir -m 0755 -p $(dirname ${soundState})
# Restore the sound state.
${alsaUtils}/sbin/alsactl -f ${soundState} restore || true
${alsaUtils}/sbin/alsactl --ignore -f ${soundState} restore
'';
postStop =
''
# Save the sound state.
${alsaUtils}/sbin/alsactl -f ${soundState} store
${alsaUtils}/sbin/alsactl --ignore -f ${soundState} store
'';
};