summaryrefslogtreecommitdiff
path: root/pm
diff options
context:
space:
mode:
authorVictor Lowther <victor.lowther@gmail.com>2008-03-16 18:57:38 -0500
committerVictor Lowther <victor.lowther@gmail.com>2008-03-16 18:59:27 -0500
commit5d4eaefc302d35d5a3ac2fbdf09a799597b5c536 (patch)
tree729e2cbc9cf53cc765c8c2cfea79836907f1470d /pm
parentf8a6c613a3f432b96d076e16c036de74c27a0856 (diff)
QUIRK_NONE was not being honored in uswsusp.
Added code to zero out OPTS if QUIRK_NONE = true.
Diffstat (limited to 'pm')
-rwxr-xr-xpm/module.d/uswsusp3
1 files changed, 2 insertions, 1 deletions
diff --git a/pm/module.d/uswsusp b/pm/module.d/uswsusp
index cd465d1..9c59229 100755
--- a/pm/module.d/uswsusp
+++ b/pm/module.d/uswsusp
@@ -27,7 +27,8 @@ get_quirks()
*) continue ;;
esac
done
-
+ # if we were told to ignore quirks, do so.
+ [ "$QUIRK_NONE" = "true" ] && OPTS=""
[ $ACPI_SLEEP -ne 0 ] && OPTS="$OPTS --acpi_sleep $ACPI_SLEEP"
}