mkinitrd unification across distributions
 help / color / mirror / Atom feed
From: Harald Hoyer <harald-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
To: "Amadeusz Żołnowski" <aidecoe-2qtfh70TtYba5EbDDlwbIw@public.gmane.org>
Cc: initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH 1/2] 10i18n: exit if console already initialized
Date: Wed, 04 Aug 2010 18:31:46 +0200	[thread overview]
Message-ID: <4C5995F2.3000708@redhat.com> (raw)
In-Reply-To: <20100726101540.37af47d8-2qtfh70TtYba5EbDDlwbIw@public.gmane.org>

pushed

On 07/26/2010 10:15 AM, Amadeusz Żołnowski wrote:
>
> ---
>   modules.d/10i18n/console_init |    4 ++++
>   1 files changed, 4 insertions(+), 0 deletions(-)
>
> diff --git a/modules.d/10i18n/console_init b/modules.d/10i18n/console_init
> index fa74595..0d4fa8f 100755
> --- a/modules.d/10i18n/console_init
> +++ b/modules.d/10i18n/console_init
> @@ -63,12 +63,15 @@ dev_open() {
>
>
>   dev=/dev/${1#/dev/}
> +devname=${dev#/dev/}
>
>   [ -c "${dev}" ] || {
>       echo "Usage: $0 device">&2
>       exit 1
>   }
>
> +[ -e /tmp/console_init.${devname} ]&&  exit 0
> +
>   dev_open ${dev}
>
>   for fd in 6 7; do
> @@ -85,3 +88,4 @@ set_font ${dev}
>   set_keymap
>
>   dev_close
> +>/tmp/console_init.${devname}

      parent reply	other threads:[~2010-08-04 16:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-26  8:15 [PATCH 1/2] 10i18n: exit if console already initialized Amadeusz Żołnowski
     [not found] ` <20100726101540.37af47d8-2qtfh70TtYba5EbDDlwbIw@public.gmane.org>
2010-07-26  8:17   ` [PATCH 2/2] 99base: no modprobe and rmmod if --no-kernel Amadeusz Żołnowski
2010-08-04 16:31   ` Harald Hoyer [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4C5995F2.3000708@redhat.com \
    --to=harald-h+wxahxf7alqt0dzr+alfa@public.gmane.org \
    --cc=aidecoe-2qtfh70TtYba5EbDDlwbIw@public.gmane.org \
    --cc=initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox