There was an error in my posted script above ("swswap"should be
"swsuspend").

Fixed script (tested) is attached with this post.

Please replace the old script by the attached fixed script file
warnresumefail.fixed

Here is the diff anyway:

--- warnresumefail      2012-04-17 03:56:16.945738809 -0400
+++ warnresumefail.fixed        2012-04-17 03:34:27.294976347 -0400
@@ -41,7 +41,7 @@
 fi
 
 # Get a list and count of devices with swsusp signature
-set x $($BLKID -o device -t TYPE=swswap) 
+set x $($BLKID -o device -t TYPE=swsuspend) 
 shift
 lst="$@"
 n="$#"


** Attachment added: "Fixed manual resume warning script"
   
https://bugs.launchpad.net/initramfs-tools/+bug/923326/+attachment/3082184/+files/warnresumefail.fixed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/923326

Title:
  With multiple swap partitions resume from hibenation fails

To manage notifications about this bug go to:
https://bugs.launchpad.net/initramfs-tools/+bug/923326/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to