[PATCH] Fancy rc startup (revisited)

Lars Engels lars.engels at 0x20.net
Sun May 13 21:15:18 UTC 2007


On Sun, May 13, 2007 at 06:18:08AM +0300, Giorgos Keramidas wrote:
> 
> More like Solaris 10 "boot -v", where you still get the kernel messages,
> but you have a point there.  I am kind of old-fashioned in the Robert
> way too, however.  If there was a way to minimize the console output
> when services are starting, i.e. to print something like:
> 
>   [last kernel message]
> 
>   Booting FreeBSD: dumpon initrandom fsck root hostid mountcritlocal
>   var cleanvar random adjkerntz hostname kldxref swap sysctl netif (lo0
>   fxp0) pflog pf routing devd nsswitch devfs syslogd ldconfig named
>   auditd tmp cleartmp dmesg virecover local motd ntpd powerd syscons
>   sshd sendmail cron securelevel power_profile inetd
> 
>   foo login:
> 
> where each rc.d script would only print its name if it *was* enabled
> with xxx_enable, optionally followed by a parenthesized list of
> single-word status messages for each subscript/component), would be
> really neat.

I like this idea. Optionally the names could be printed in green and red
depending on whether the service started successfully or not.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20070513/9db53aee/attachment.pgp


More information about the freebsd-current mailing list