We now support the noresume kernel parameter.

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

 



Gitweb:     http://git.kernel.org/?p=linux/kernel/git/davej/dracut.git;a=commit;h=c9ac929ddff9aec5c9951815774a7bcb5d120df9
Commit:     c9ac929ddff9aec5c9951815774a7bcb5d120df9
Parent:     27994f9e28546e0bcf352b5217c54ff287183789
Author:     Victor Lowther <victor.lowther@xxxxxxxxx>
AuthorDate: Sat Feb 21 08:24:25 2009 -0800
Committer:  Dave Jones <davej@xxxxxxxxxx>
CommitDate: Mon Feb 23 13:22:01 2009 -0500

    We now support the noresume kernel parameter.
---
 hooks/resume.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/hooks/resume.sh b/hooks/resume.sh
index 4f1d6c3..619d634 100755
--- a/hooks/resume.sh
+++ b/hooks/resume.sh
@@ -1,5 +1,5 @@
 #!/bin/sh
-resume=$(getarg resume) && {
+resume=$(getarg resume) && [ "$(getarg noresume)" = "" ] && {
     resume=${resume#resume=}
     [ -b "$resume" ] && {
         # parsing the output of ls is Bad, but until there is a better way...
--
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