-# $OpenBSD: rc.subr,v 1.83 2014/08/24 07:55:20 ajacoutot Exp $
+# $OpenBSD: rc.subr,v 1.84 2014/08/24 13:29:16 ajacoutot Exp $
#
# Copyright (c) 2010, 2011, 2014 Antoine Jacoutot <ajacoutot@openbsd.org>
# Copyright (c) 2010, 2011 Ingo Schwarze <schwarze@openbsd.org>
done
_rc_do _rc_quirks
-
- if [ -n "${_RC_DEBUG}" ]; then
- echo "${_name}_flags >$(eval echo \${${_name}_flags})<"
- fi
}
[ -n "${FUNCS_ONLY}" ] && return
[ -n "${_rcuser}" ] && daemon_user=${_rcuser}
[ -n "${_rctimeout}" ] && daemon_timeout=${_rctimeout}
+if [ -n "${_RC_DEBUG}" ]; then
+ echo -n "${_name}_flags "
+ [ -n "${_rcflags}" ] && echo -n "empty, using default "
+ echo ">${daemon_flags}<"
+fi
+
readonly daemon_class
unset _rcflags _rcuser _rctimeout
pexp="${daemon}${daemon_flags:+ ${daemon_flags}}"