Lines of
daemon.starter.mk
from check-in 7a1e7f4a58
that are changed by the sequence of edits moving toward
check-in bc20f9df9f:
1: LOCAL_TARGETS:=_service_daemon _earlyservice_daemon
2: OTHER_TARGETS+=${LOCAL_TARGETS}
3: .if ${STARTER} == "daemon"
4: LOCAL_TARGETS+=_service _earlyservice
5: .endif
6:
7: .for target in ${LOCAL_TARGETS}
8: ${target}: ${target:C/_service.*/DAEMON/:C/_earlyservice.*/SERVICE/} .USE
9: test -z "$${DAEMON_$@_ENABLE}" || { \
10: echo "MRC:$@> Starting service."; \
11: test -n "${DAEMON_$@_MODULES}" && kldload -n ${DAEMON_$@_MODULES} || true; \
7a1e7f4a58 2019-10-21 12: daemon -c -u ${DAEMON_$@_USER:Uroot} -r -P /var/run/daemon.$@.pid ${DAEMON_$@_COMMAND} ${DAEMON_$@_FLAGS}; \
13: }
14: .endfor
15:
16: .undef LOCAL_TARGETS