[PATCH] Fancy rc startup (revisited)

From: Eric Anderson <anderson_at_freebsd.org>
Date: Fri, 11 May 2007 07:42:35 -0500
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
Received on Fri May 11 2007 - 10:42:37 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:10 UTC