Remove the sourceing of rc.conf from the debug subroutine. This caused

problems when you try to override variables locally.
This commit is contained in:
gordon 2002-09-12 17:27:36 +00:00
parent fce167d1b3
commit c18dda8955

View File

@ -901,11 +901,6 @@ info()
#
debug()
{
# This subroutine is provided as a convenience to script writers, who
# should enable debugging in /etc/rc.conf.
#
[ -f /etc/rc.conf ] && . /etc/rc.conf
case ${rc_debug} in
[Yy][Ee][Ss]|[Tt][Rr][Uu][Ee]|[Oo][Nn]|1)
_echo 1>&2 "DEBUG" "$*"