* Ignore the "No soundcards found" error.
svn path=/nixos/trunk/; revision=33224
This commit is contained in:
@@ -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
|
||||
'';
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user