On Fri, Jan 25, 2008 at 03:06:26PM +0000, Mike Makonnen wrote:
> mtm         2008-01-25 15:06:26 UTC
> 
>   FreeBSD src repository
> 
>   Modified files:
>     etc                  rc.subr 
>   Log:
>   If the rc.conf(5) variable for a script is not enabled do not fail
>   silently. Display a message that the command wasn't run and make
>   possible suggestions for what to do.

Any chance that we could make this behaviour dependent on some other
variable (or not do it)?  It's going to make booting look pretty nasty.

Ceri

> | @@ -606,6 +606,9 @@ run_rc_command()
> |                                     #
> |     if [ -n "${rcvar}" -a "$rc_arg" != "rcvar" ]; then
> |             if ! checkyesno ${rcvar}; then
> | +                   echo -n "Cannot '${rc_arg}' $name. Set ${rcvar} to "
> | +                   echo -n "YES in /etc/rc.conf or use 'one${rc_arg}' "
> | +                   echo "instead of '${rc_arg}'."
> |                     return 0
> |             fi
> |     fi

-- 
That must be wonderful!  I don't understand it at all.
                                                  -- Moliere

Attachment: pgpLxDN6sbHMk.pgp
Description: PGP signature

Reply via email to