summaryrefslogtreecommitdiff
path: root/pm
diff options
context:
space:
mode:
authorVictor Lowther <victor.lowther@gmail.com>2008-03-07 20:12:35 -0600
committerVictor Lowther <victor.lowther@gmail.com>2008-03-07 20:12:35 -0600
commit198136577ea5c57e86aa9b01f95d63ce0b882e5c (patch)
tree3a58cd48c7ab243d48b77422b77c86039fb695db /pm
parent4b1998601c7b075a432bdd7fd6975ca2d3689995 (diff)
parentfee2b6346509d94b24670fcd2d5f151568617cd2 (diff)
Merge branch 'master' into vlowther-dynamic-hook-disable
Diffstat (limited to 'pm')
-rwxr-xr-xpm/sleep.d/99video4
1 files changed, 1 insertions, 3 deletions
diff --git a/pm/sleep.d/99video b/pm/sleep.d/99video
index 1dc88bd..c20c7fa 100755
--- a/pm/sleep.d/99video
+++ b/pm/sleep.d/99video
@@ -10,8 +10,7 @@
. "${PM_FUNCTIONS}"
for opt in $PM_CMDLINE; do
- [ "${opt#--quirk-}" = "$opt" ] && continue # not one we care about.
- case "${1##--quirk-}" in # just quirks, please
+ case "${opt##--quirk-}" in # just quirks, please
dpms-on) QUIRK_DPMS_ON="true" ;;
dpms-suspend) QUIRK_DPMS_SUSPEND="true" ;;
radeon-off) QUIRK_RADEON_OFF="true" ;;
@@ -25,7 +24,6 @@ for opt in $PM_CMDLINE; do
none) QUIRK_NONE="true" ;;
*) continue ;;
esac
- shift
done