summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorgordon <gordon@FreeBSD.org>2002-09-12 17:27:36 +0000
committergordon <gordon@FreeBSD.org>2002-09-12 17:27:36 +0000
commitc18dda8955337d7988f5f5591a7b8e7a4ebe7456 (patch)
tree44287a25c9e1d23f62b9a275deaf52c7381b1ce7 /etc
parentfce167d1b3df76434434ad9c59d5d8c44c2c6920 (diff)
downloadFreeBSD-src-c18dda8955337d7988f5f5591a7b8e7a4ebe7456.zip
FreeBSD-src-c18dda8955337d7988f5f5591a7b8e7a4ebe7456.tar.gz
Remove the sourceing of rc.conf from the debug subroutine. This caused
problems when you try to override variables locally.
Diffstat (limited to 'etc')
-rw-r--r--etc/rc.subr5
1 files changed, 0 insertions, 5 deletions
diff --git a/etc/rc.subr b/etc/rc.subr
index c170649..3f11e08 100644
--- a/etc/rc.subr
+++ b/etc/rc.subr
@@ -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" "$*"
OpenPOWER on IntegriCloud