Hi again.
Here's a new patch (this time against current git) to enable
suspend-to-both support if we have suspend-to-ram and TuxOnIce.
Signed-off-by: Nigel Cunningham <[EMAIL PROTECTED]>
diff --git a/src/pm-is-supported b/src/pm-is-supported
index 4f7e267..ca3b759 100644
--- a/src/pm-is-supported
+++ b/src/pm-is-supported
@@ -36,8 +36,9 @@ case "$ARG" in
grep -q disk /sys/power/state || exit 1
;;
suspend-hybrid)
- # grep -q mem /sys/power/state || exit 1
- # grep -q disk /sys/power/state || exit 1
+ grep -q mem /sys/power/state || exit 1
+ [ -d /sys/power/tuxonice ] && exit 0
+ #grep -q disk /sys/power/state || exit 1
exit 1
;;
help)
_______________________________________________
Pm-utils mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/pm-utils