summaryrefslogtreecommitdiffstats
path: root/abs/core/alsa-utils/90alsa
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/alsa-utils/90alsa')
-rw-r--r--abs/core/alsa-utils/90alsa14
1 files changed, 14 insertions, 0 deletions
diff --git a/abs/core/alsa-utils/90alsa b/abs/core/alsa-utils/90alsa
new file mode 100644
index 0000000..9027813
--- /dev/null
+++ b/abs/core/alsa-utils/90alsa
@@ -0,0 +1,14 @@
+#!/bin/sh
+#
+# 90alsa: suspend/wakeup ALSA devices
+
+case "$1" in
+hibernate|suspend)
+;;
+thaw|resume)
+aplay -d 1 /dev/zero
+;;
+*) exit $NA
+;;
+esac
+