ddb_prestart()
{
# Silently exit if ddb is not enabled
if [ -z "`sysctl -Nq debug.ddb.scripting.scripts`" ]; then
# NOTE: exit is needed here, not return, else rc.subr emits
return 1
# a "failed precmd routine" warning when ddb_enable="yes" is
# used on a system which lacks DDB support in the kernel.
if [ -z "`$SYSCTL_N -q debug.ddb.scripting.scripts`" ]; then
exit 1
fi
}