If the kenv variable rc_debug is set, turn on rc_debug.
This commit is contained in:
parent
4d00d13c3e
commit
5ad34286cd
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=309350
@ -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…
Reference in New Issue
Block a user