Fix boot with user suspend and no resume= kernel argument
PATCH 1/1 Fix boot with user suspend and no resume= kernel argument
Mandriva bug https://qa.mandriva.com/show_bug.cgi?id=57924. Check if dracut got resume= argument before calling /usr/sbin/resume
Signed-off-by Andrey Borzenkov <arvidjaar-JGs/[email protected]>
---
modules.d/95uswsusp/resume-uswsusp.sh | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-)
modules.d/95uswsusp/resume-uswsusp.sh +3 -1
@@ -8,4 +8,6 @@ case "$splash" in ;; esac -/usr/sbin/resume $a_splash "$resume" +if [ -n "$resume" ]; then + /usr/sbin/resume $a_splash "$resume" +fi
Quoted 24 lines · Andrey Borzenkov
Mandriva bug https://qa.mandriva.com/show_bug.cgi?id=57924. Check if dracut got resume= argument before calling
/usr/sbin/resumeSigned-off-by Andrey Borzenkov<arvidjaar-JGs/[email protected]>---
modules.d/95uswsusp/resume-uswsusp.sh | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-)modules.d/95uswsusp/resume-uswsusp.sh +3
-2@@ -8,4 +8,6 @@ case "$splash" in ;; esac -/usr/sbin/resume $a_splash "$resume" +if [ -n "$resume" ]; then + /usr/sbin/resume $a_splash "$resume" +fi --
Quoted 3 lines
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
pushed