summaryrefslogtreecommitdiff
path: root/extra/alsa-utils/90alsa
diff options
context:
space:
mode:
Diffstat (limited to 'extra/alsa-utils/90alsa')
-rwxr-xr-xextra/alsa-utils/90alsa13
1 files changed, 13 insertions, 0 deletions
diff --git a/extra/alsa-utils/90alsa b/extra/alsa-utils/90alsa
new file mode 100755
index 000000000..9f18bef24
--- /dev/null
+++ b/extra/alsa-utils/90alsa
@@ -0,0 +1,13 @@
+#!/bin/sh
+#
+# 90alsa: suspend/wakeup ALSA devices
+
+case "$1" in
+hibernate|suspend)
+;;
+thaw|resume)
+aplay -d 1 /dev/zero
+;;
+*) exit $NA
+;;
+esac