summaryrefslogtreecommitdiff
path: root/pm/sleep.d/00auto-quirk
diff options
context:
space:
mode:
authorVictor Lowther <victor.lowther@gmail.com>2008-10-05 20:53:06 -0500
committerVictor Lowther <victor.lowther@gmail.com>2008-10-05 20:53:06 -0500
commit8bb909029274930145aaa99b4b8b5447fcf323de (patch)
tree28b4cd5f4e220a9b01ba3287468c14bc5cb1b741 /pm/sleep.d/00auto-quirk
parent78c842d66e376461206947ac53d3976f68afdc7f (diff)
parent383ee6cc45b56086e7e5ea8846a1c0adae3cc035 (diff)
Merge branch 'master' into pm-utils-1.2pm-utils-1.2.2
Diffstat (limited to 'pm/sleep.d/00auto-quirk')
-rwxr-xr-xpm/sleep.d/00auto-quirk3
1 files changed, 2 insertions, 1 deletions
diff --git a/pm/sleep.d/00auto-quirk b/pm/sleep.d/00auto-quirk
index 0f9bcce..e45686e 100755
--- a/pm/sleep.d/00auto-quirk
+++ b/pm/sleep.d/00auto-quirk
@@ -6,7 +6,7 @@ do_add_quirks()
{
add_parameters $(lshal | \
awk -F '[. ]' \
- '/ power_management.quirk.[a-z_]+ = true/ \
+ '/ power_management.quirk.[0-9a-z_]+ = true/ \
{gsub(/_/, "-", $5); printf("--quirk-%s", $5)}')
}
@@ -64,6 +64,7 @@ maybe_add_quirks()
maybe_save_quirks()
{
+ inhibited && return 0
has_parameter --store-quirks-as-fdi && do_save_quirks
return 0
}