Subject: [PATCH] Add missing file

From: Raphael Geissert <[email-masked]>
Date: Mon, 2 Feb 2009 11:47:07 -0600

Signed-off-by: Raphael Geissert <[email-masked]>
---
 etc/acpi/lib/sound.sh |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)
 create mode 100644 etc/acpi/lib/sound.sh

diff --git a/etc/acpi/lib/sound.sh b/etc/acpi/lib/sound.sh
new file mode 100644
index 0000000..440b5d0
--- /dev/null
+++ b/etc/acpi/lib/sound.sh
@@ -0,0 +1,14 @@
+
+configureSound() {
+
+    [ "$SOUND_LABEL" ] || {
+	 SOUND_LABEL="$($AMIXER | grep -B1 pvolume |
+			sed -r "s/^(.*'([^']+)'.*|[^']+())$/\\2/")"
+    }
+
+    [ "$SOUND_SWITCH" ] || {
+	 SOUND_SWITCH="$($AMIXER | grep -B1 pswitch |
+			sed -r "s/^(.*'([^']+)'.*|[^']+())$/\\2/")"
+    }
+
+}