[Pm-utils] [PATCH 2/6] Added support in the video hook for DISPLAY_QUIRK_NONE.
Victor Lowther
victor.lowther at gmail.com
Wed Feb 27 18:29:05 PST 2008
When it is set to true, avoid quirk handling by exiting immediatly.
---
pm/sleep.d/99video | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/pm/sleep.d/99video b/pm/sleep.d/99video
index d46fbfe..92e13f7 100755
--- a/pm/sleep.d/99video
+++ b/pm/sleep.d/99video
@@ -9,6 +9,8 @@
. "${PM_FUNCTIONS}"
+[ "$DISPLAY_QUIRK_NONE" = "true" ] && exit $NA
+
reset_brightness()
{
for bl in /sys/class/backlight/* ; do
--
1.5.4.3
More information about the Pm-utils
mailing list