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/resumemaster
parent
aab70adc0b
commit
01b8cdffca
|
@ -8,4 +8,6 @@ case "$splash" in
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
/usr/sbin/resume $a_splash "$resume"
|
if [ -n "$resume" ]; then
|
||||||
|
/usr/sbin/resume $a_splash "$resume"
|
||||||
|
fi
|
||||||
|
|
Loading…
Reference in New Issue