Browse Source

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
master
Andrey Borzenkov 15 years ago committed by Harald Hoyer
parent
commit
01b8cdffca
  1. 4
      modules.d/95uswsusp/resume-uswsusp.sh

4
modules.d/95uswsusp/resume-uswsusp.sh

@ -8,4 +8,6 @@ case "$splash" in @@ -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

Loading…
Cancel
Save