Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 May 2007 07:42:35 -0500
From:      Eric Anderson <anderson@freebsd.org>
To:        freebsd-current@freebsd.org
Subject:   [PATCH] Fancy rc startup (revisited)
Message-ID:  <464464BB.3090100@freebsd.org>

next in thread | raw e-mail | index | archive | help
About a year ago, I posted[1] a patch to 6-STABLE that added a fancy rc 
startup style similar to linux, with the [OK], [FAILED], etc printouts. 
   That patch had serious bit rot and other issues, and so I've now 
revamped it to work on -CURRENT, with a more refined usage, and defaults 
to off.  One can choose the messages displayed (OK, FAILED, GOOD, SWEET, 
DARN, whatever you want), and choose black and white or color output. 
It seems to work on serial output, as well as console output.

I'd rather stay away from a massive bikeshedding, so let me summarize:

- Default is off, so nobody would notice it.
- Can be set to black and white OR color, users choice
- Configurable messages
- Default is extra-verbose boot messages, but that can be turned off 
easily with an rc.conf knob or probably better yet, make the default 
non-verbose.  I don't care either way.
- No animals hurt in the making of the patch


I'd like to here feedback, and would love to see this go in to the tree, 
if a friendly src committer would be willing to do the trick.

The patch can be found here:

http://googlebit.com/freebsd/patches/rc_fancy.patch-13

So this should get someone up and running:

cd /tmp; fetch http://googlebit.com/freebsd/patches/rc_fancy.patch-13
cd /etc; patch < /tmp/rc_fancy.patch-13
echo "rc_fancy=\"YES\" >> /etc/rc.conf
(or echo "rc_fancy=\"COLOR\" >> /etc/rc.conf )

Eric



[1]: 
http://lists.freebsd.org/pipermail/freebsd-hackers/2006-April/016164.html



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?464464BB.3090100>