]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
We now support the noresume kernel parameter.
authorVictor Lowther <victor.lowther@gmail.com>
Sat, 21 Feb 2009 16:24:25 +0000 (08:24 -0800)
committerDave Jones <davej@redhat.com>
Mon, 23 Feb 2009 18:22:01 +0000 (13:22 -0500)
hooks/resume.sh

index 4f1d6c31c45ec733682501b8a3ded891367dd104..619d63478ce6bcdf3fbee4149ffac7eb7e424320 100755 (executable)
@@ -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...