---
 pm/module.d/uswsusp |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/pm/module.d/uswsusp b/pm/module.d/uswsusp
index f390b43..525aae9 100644
--- a/pm/module.d/uswsusp
+++ b/pm/module.d/uswsusp
@@ -10,6 +10,7 @@ do_suspend()
 check_hibernate() {
        [ -f /sys/power/disk ] && \
        grep -q disk /sys/power/state && \
+       [ -c /dev/snapshot ] &&
        command_exists s2disk   
 }
 
@@ -26,5 +27,7 @@ check_suspend_hybrid() {
 
 do_suspend_hybrid()
 {
+       # a brief perusal of the source indicates that -f bypasses
+       # quirks application and the whitelist.
         s2both -f
 }
-- 
1.5.3.8

_______________________________________________
Pm-utils mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/pm-utils

Reply via email to