OTHER_TARGETS+=_service_pre
STARTER?=svc
_service_check: .USEBEFORE
# check whether service is enabled
if [ -z "$${DAEMON_$@_ENABLE}" ]; then \
exit 0; \
if [ -z "$${DAEMON_$@_ENABLE}" -a -z "${FORCE}" ]; then \
exit 0 ;\
fi
_service_pre: .USEBEFORE
echo "MRC:$@> Starting service."
# kldload modules if any
if [ -n "${DAEMON_$@_MODULES}" ]; then \