* Ignore the "No soundcards found" error.
svn path=/nixos/trunk/; revision=33224
This commit is contained in:
parent
86d8d62d16
commit
83f5d26a85
@ -55,13 +55,13 @@ in
|
|||||||
mkdir -m 0755 -p $(dirname ${soundState})
|
mkdir -m 0755 -p $(dirname ${soundState})
|
||||||
|
|
||||||
# Restore the sound state.
|
# Restore the sound state.
|
||||||
${alsaUtils}/sbin/alsactl -f ${soundState} restore || true
|
${alsaUtils}/sbin/alsactl --ignore -f ${soundState} restore
|
||||||
'';
|
'';
|
||||||
|
|
||||||
postStop =
|
postStop =
|
||||||
''
|
''
|
||||||
# Save the sound state.
|
# Save the sound state.
|
||||||
${alsaUtils}/sbin/alsactl -f ${soundState} store
|
${alsaUtils}/sbin/alsactl --ignore -f ${soundState} store
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user