Add missing ACPI volume and brightness scripts
[hvlinux.git] / stage2 / misc / acpi / vol.sh
diff --git a/stage2/misc/acpi/vol.sh b/stage2/misc/acpi/vol.sh
new file mode 100755 (executable)
index 0000000..caf4972
--- /dev/null
@@ -0,0 +1,12 @@
+#!/bin/bash
+
+step=5
+
+case $1 in
+    -)
+        amixer set Master $step-
+        ;;
+    +)
+        amixer set Master $step+
+        ;;
+esac