Skip to contentSkip to conversation

We now support the noresume kernel parameter.

PATCH initramfs mailing list 1 participant 1 message Feb 24, 2009

lore
Share & tools
lore
#0 lore raw
Gitweb:     http://git.kernel.org/?p=linux/kernel/git/davej/dracut.git;a=commit;h=c9ac929ddff9aec5c9951815774a7bcb5d120df9
Commit:     c9ac929ddff9aec5c9951815774a7bcb5d120df9
Parent:     27994f9e28546e0bcf352b5217c54ff287183789
Author:     Victor Lowther <[email protected]>
AuthorDate: Sat Feb 21 08:24:25 2009 -0800
Committer:  Dave Jones <[email protected]>
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(-)
hooks/resume.sh +1 -1
index 4f1d6c3..619d634 100755
@@ -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 [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html