If the kenv variable rc_debug is set, turn on rc_debug.
This commit is contained in:
parent
4d00d13c3e
commit
5ad34286cd
@ -2119,6 +2119,12 @@ _echoonce()
|
||||
esac
|
||||
}
|
||||
|
||||
# If the loader env variable rc.debug is set, turn on debugging. rc.conf will
|
||||
# still override this, but /etc/defaults/rc.conf.a
|
||||
if kenv -q rc.debug > /dev/null ; then
|
||||
rc_debug=YES
|
||||
fi
|
||||
|
||||
fi # [ -z "${_rc_subr_loaded}" ]
|
||||
|
||||
_rc_subr_loaded=:
|
||||
|
Loading…
x
Reference in New Issue
Block a user