Re: [PATCH] dracut-gencmdline: emit "resume="

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 10/29/2009 10:27 AM, Alan Jenkins wrote:
I haven't tested resume either way, but I can't imagine it working if
we don't tell it which device to use :-).

diff --git a/dracut-gencmdline b/dracut-gencmdline
index 978f5a2..625546c 100755
--- a/dracut-gencmdline
+++ b/dracut-gencmdline
@@ -711,5 +711,9 @@ if [ -n "$rootdev" ]; then
      echo -n "root=$rootdev "
  fi

+if [ -n "$swsuspdev" ]; then
+    echo -n "resume=$swsuspdev "
+fi
+
  echo
  # vim:ts=8:sw=4:sts=4:et



well, it works, because it finds the suspend signature :-)
--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux