Hello,
The bug is still there and the provided patch will failed when
HIBERNATE_MODE is not set. The following patch solve the problems in
both situation:
--- /usr/lib/pm-utils/module.d/uswsusp 2011-03-25 04:35:02.469315611 +0100
+++ /usr/lib/pm-utils/module.d/uswsusp 2011-03-25 04:29:28.000000000 +0100
@@ -87,7 +87,13 @@
HIBERNATE_MODULE="uswsusp"
do_hibernate()
{
- s2disk
+ HIBERNATE_MODE_OPT=""
+ if [ -n "$HIBERNATE_MODE" ]; then
+ HIBERNATE_MODE_OPT="-P shutdown method=$HIBERNATE_MODE"
+ s2disk "$HIBERNATE_MODE_OPT"
+ else
+ s2disk
+ fi
}
fi
--
Rémi Vanicat
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]