8.0 rc.d scripts less verbose?

Dimitry Andric dimitry at andric.com
Tue Sep 15 19:39:32 UTC 2009


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 }\


More information about the freebsd-stable mailing list