8.0 rc.d scripts less verbose?

Cezary Morga cm at therek.net
Wed Sep 16 07:54:39 UTC 2009


Dimitry Andric pisze:
> 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 }\

Wouldn't it be easier to set rc_quiet to zero-length value, like 
rc_quiet=""?

-- 
Cezary Morga
"Research is the process of going up alleys to see if they are blind." 
(Marston Bates)


More information about the freebsd-stable mailing list