Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Sep 2009 21:39:33 +0200
From:      Dimitry Andric <dimitry@andric.com>
To:        Ronald Klop <ronald-freebsd8@klop.yi.org>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: 8.0 rc.d scripts less verbose?
Message-ID:  <4AAFED75.4020502@andric.com>
In-Reply-To: <op.u0aywxkp8527sy@82-170-177-25.ip.telfort.nl>
References:  <op.u0aywxkp8527sy@82-170-177-25.ip.telfort.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2009-09-15 16:37, Ronald Klop wrote:
> Since I run 8.0 the rc.d scripts are less verbose. I have some problems  
> with them, but the default output gives me no information anymore.
> 
> In the 8.0-TODO wiki there is a mention about verbosity of the rc.d  
> scripts at the bottom. Is there a way for me to increase the verbosity?

Nope, this was removed, apparently.  A pity, since this was very useful
information during boot time.  However, setting rc_debug will give you
enormous gobs of useless info (unless you're debugging rc scripts), and
rc_info doesn't seem to add much anymore, if anything.

To restore the old behaviour, apply the following patch (I have this in
my local repository for ages now):


Index: etc/rc.subr
===================================================================
--- etc/rc.subr	(revision 196888)
+++ etc/rc.subr	(working copy)
@@ -680,7 +680,7 @@ run_rc_command()
 
 					# setup the full command to run
 					#
-			[ -z "${rc_quiet}" ] && echo "Starting ${name}."
+			echo "Starting ${name}."
 			if [ -n "$_chroot" ]; then
 				_doit="\
 ${_nice:+nice -n $_nice }\



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4AAFED75.4020502>