From owner-freebsd-current@FreeBSD.ORG Sun May 13 20:15:31 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3FD0616A402; Sun, 13 May 2007 20:15:31 +0000 (UTC) (envelope-from keramida@freebsd.org) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.freebsd.org (Postfix) with ESMTP id 999D213C45A; Sun, 13 May 2007 20:15:30 +0000 (UTC) (envelope-from keramida@freebsd.org) Received: from kobe.laptop (host5.bedc.ondsl.gr [62.103.39.229]) (authenticated bits=128) by igloo.linux.gr (8.13.8/8.13.8/Debian-3) with ESMTP id l4DKEMgv020834 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sun, 13 May 2007 23:14:28 +0300 Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.1/8.14.1) with ESMTP id l4DKE370022369; Sun, 13 May 2007 23:14:15 +0300 (EEST) (envelope-from keramida@freebsd.org) Received: (from keramida@localhost) by kobe.laptop (8.14.1/8.14.1/Submit) id l4DKE3fG022367; Sun, 13 May 2007 23:14:03 +0300 (EEST) (envelope-from keramida@freebsd.org) Date: Sun, 13 May 2007 23:14:03 +0300 From: Giorgos Keramidas To: Eric Anderson Message-ID: <20070513201402.GB22152@kobe.laptop> References: <464464BB.3090100@freebsd.org> <20070511152646.g6n5r7k2tcw00ow4@webmail.leidinger.net> <464476D3.3090001@freebsd.org> <4645173A.2040008@freebsd.org> <20070512205110.U24765@fledge.watson.org> <20070513024030.GE2364@dan.emsphone.com> <20070513031807.GA6437@kobe.laptop> <46476700.6010101@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <46476700.6010101@freebsd.org> X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-4.399, required 5, autolearn=not spam, ALL_TRUSTED -1.80, BAYES_00 -2.60) X-Hellug-MailScanner-From: keramida@freebsd.org X-Spam-Status: No Cc: Robert Watson , Kian Mohageri , Dan Nelson , freebsd-current@freebsd.org Subject: Re: [PATCH] Fancy rc startup (revisited) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 May 2007 20:15:31 -0000 On 2007-05-13 14:29, Eric Anderson wrote: >On 05/12/07 22:18, Giorgos Keramidas wrote: >> 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. >> >> Is there any easy way we can 'tune' the fancy script to support the >> current output style, a very brief style like above, and then a fancy >> colorful style, depending on an rc.conf setting? > > I think the rc_fancy patch could be pretty easily tweaked to do exactly > what you say. Yeah, that was my impression from skimming through the changes :) > I might give it a go, and add that as another option to it. Maybe > then the variable should change to rc_style_* instead? Can I help with testing or even writing the necessary changes?