Boot screen: Quiet or not?

Liam Proven lproven at gmail.com
Mon Oct 8 18:04:11 UTC 2007


On 07/10/2007, John Richard Moser <nigelenki at comcast.net> wrote:

> > There speaks someone who came into Linux with Ubuntu, at a guess?
> >
>
> Redhat 5.2, Mandrake 7.2, then 8.0, Debian Potato, Slackware 7.2, Debian
> again, SuSE, Gentoo, then Ubuntu.

Wow! Well, that serves me right for taking a guess, then. I shall
consider myself rebuked.


> > That would do if it was all I could get, at least as an option. I'd
>
> In /etc/init.d/rc there's a line that reacts to 'quiet'.  You could make
> it react to 'splashquiet' or just a vanilla configuration setting in
> /etc/defaults/rcS via the given patch:
>
> <<EOF
> - --- rc.old      2007-10-07 10:52:07.000000000 -0400
> +++ rc  2007-10-07 10:58:15.000000000 -0400
> @@ -149,14 +149,19 @@ trap on_exit EXIT # Enable emergency han
>  # Ignore CTRL-C only in this shell, so we can interrupt subprocesses.
>  trap ":" INT QUIT TSTP
>
> +. /etc/default/rcS
> +export VERBOSE
> +
>  # Should we also output to the console?
>  # /proc won't be mounted if we don't have an initramfs, but then we're
>  # dealing with custom systems so it's their own fault that they'll get
>  # output from rcS ;)
> - -if grep -w -q quiet /proc/cmdline 2>/dev/null; then
> - -    QUIET=yes
> - -else
> - -    QUIET=no
> +if [ -z "$QUIET" -o "$QUIET" = "boot" ]; then
> +    if grep -w -q quiet /proc/cmdline 2>/dev/null; then
> +       QUIET=yes
> +    else
> +       QUIET=no
> +    fi
>  fi
>  export QUIET
>
> @@ -192,9 +197,6 @@ then
>         fi
>  fi
>
> - -. /etc/default/rcS
> - -export VERBOSE
> - -
>  # Is there an rc directory for this new runlevel?
>  if [ -d /etc/rc$runlevel.d ]
>  then
> EOF

Thanks. I might give that a try.

-- 
Liam Proven • Profile: http://www.linkedin.com/in/liamproven
Email: lproven at cix.co.uk • GMail/GoogleTalk/Orkut: lproven at gmail.com
Tel: +44 20-8685-0498 • Cell: +44 7939-087884 • Fax: + 44 870-9151419
AOL/AIM/iChat: liamproven at aol.com • MSN/Messenger: lproven at hotmail.com
Yahoo: liamproven at yahoo.co.uk • Skype: liamproven • ICQ: 73187508




More information about the ubuntu-users mailing list