]> git.pld-linux.org Git - projects/geninitrd.git/commitdiff
- kernels with tuxonice use option resume
authorKacper Kornet <draenog@pld-linux.org>
Wed, 9 Apr 2008 21:36:19 +0000 (21:36 +0000)
committerKacper Kornet <draenog@pld-linux.org>
Wed, 9 Apr 2008 21:36:19 +0000 (21:36 +0000)
svn-id: @9708

geninitrd

index 24c49804bf2ba275f7484f8ff356d2867542ed8d..c8c8198235595c1828307e49e46e0d084d155067 100755 (executable)
--- a/geninitrd
+++ b/geninitrd
@@ -1008,7 +1008,7 @@ initrd_gen_tuxonice() {
        add_linuxrc <<-'EOF'
                resume2=no
                for arg in $CMDLINE; do
-                       if [ "${arg##resume2=}" != "${arg}" ]; then
+                       if [ "${arg##resume=}" != "${arg}" -o "${arg##resume2=}" != "${arg}" ]; then
                                resume2=yes
                        fi
                done
This page took 0.312952 seconds and 4 git commands to generate.