[PATCH] Fancy rc startup (revisited)

Joao Barros joao.barros at gmail.com
Mon May 14 11:40:13 UTC 2007


On 5/13/07, Lars Engels <lars.engels at 0x20.net> wrote:
> 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.
>
>

Although neat, that would fail over serial for example.

How about something like:

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 [FAILED]
tmp cleartmp dmesg virecover local motd ntpd powerd syscons
sshd sendmail cron securelevel power_profile inetd

PS: Robert, nothing against auditd ;)

-- 
Joao Barros


More information about the freebsd-current mailing list