summaryrefslogtreecommitdiff
path: root/pm/sleep.d/65alsa
blob: 68400dba90d329c2f1ca8938d3ac10219c285cd6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

. /usr/lib/pm-utils/functions

case "$1" in
	hibernate|suspend)
		alsactl store 0 >/dev/null 2>&1
		;;
	thaw|resume) 
		alsactl restore 0 >/dev/null 2>&1
		;;
	*)
		;;
esac

exit $?