aboutsummaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorGordon Tetlow <gordon@FreeBSD.org>2002-09-12 17:27:36 +0000
committerGordon Tetlow <gordon@FreeBSD.org>2002-09-12 17:27:36 +0000
commit0d8441a9fedd6b5adc0d17d4cbc417f60f4f984e (patch)
tree44287a25c9e1d23f62b9a275deaf52c7381b1ce7 /etc
parent3b812710d0f43f1fa4e3168d8c0556cf9a4297ab (diff)
downloadsrc-0d8441a9fedd6b5adc0d17d4cbc417f60f4f984e.tar.gz
src-0d8441a9fedd6b5adc0d17d4cbc417f60f4f984e.zip
Remove the sourceing of rc.conf from the debug subroutine. This caused
problems when you try to override variables locally.
Notes
Notes: svn path=/head/; revision=103262
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 c1706499bc83..3f11e082c818 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" "$*"