All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Fix boot with user suspend and no resume= kernel argument
@ 2010-03-01 18:10 Andrey Borzenkov
  2010-03-04 13:07 ` Harald Hoyer
  0 siblings, 1 reply; 2+ messages in thread
From: Andrey Borzenkov @ 2010-03-01 18:10 UTC (permalink / raw)
  To: initramfs-u79uwXL29TY76Z2rM5mHXA

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/UdohzUI@public.gmane.org>

---

 modules.d/95uswsusp/resume-uswsusp.sh |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/modules.d/95uswsusp/resume-uswsusp.sh b/modules.d/95uswsusp/resume-uswsusp.sh
index 9b18567..ce0e3d2 100755
--- a/modules.d/95uswsusp/resume-uswsusp.sh
+++ b/modules.d/95uswsusp/resume-uswsusp.sh
@@ -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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] Fix boot with user suspend and no resume= kernel argument
  2010-03-01 18:10 [PATCH] Fix boot with user suspend and no resume= kernel argument Andrey Borzenkov
@ 2010-03-04 13:07 ` Harald Hoyer
  0 siblings, 0 replies; 2+ messages in thread
From: Harald Hoyer @ 2010-03-04 13:07 UTC (permalink / raw)
  To: Andrey Borzenkov; +Cc: initramfs-u79uwXL29TY76Z2rM5mHXA

On 03/01/2010 07:10 PM, Andrey Borzenkov wrote:
> 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/UdohzUI@public.gmane.org>
>
> ---
>
>   modules.d/95uswsusp/resume-uswsusp.sh |    4 +++-
>   1 files changed, 3 insertions(+), 1 deletions(-)
>
> diff --git a/modules.d/95uswsusp/resume-uswsusp.sh b/modules.d/95uswsusp/resume-uswsusp.sh
> index 9b18567..ce0e3d2 100755
> --- a/modules.d/95uswsusp/resume-uswsusp.sh
> +++ b/modules.d/95uswsusp/resume-uswsusp.sh
> @@ -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
>
> --
> To unsubscribe from this list: send the line "unsubscribe initramfs" in
> the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

pushed

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-03-04 13:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-01 18:10 [PATCH] Fix boot with user suspend and no resume= kernel argument Andrey Borzenkov
2010-03-04 13:07 ` Harald Hoyer

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.