Artifact [d7e2f924ba]
Logged in as anonymous

Artifact d7e2f924ba11d756d2e1ea7b7d09911d3616304623626e73ea879466427de17d:


.include "/etc/mrc.conf"
.export

DAEMONIZER?=svc.daemon

#.MAKE.JOBS?=2
#.SILENT:

.include "${DAEMONIZER}"

.if defined(AUTOBOOT)
SCRIPTS=${:!find /etc/mrc -name '*.init' -o -name '*.service'!:S/\/etc\/mrc\///}
.else
SCRIPTS=${:!find /etc/mrc -name '*.service'!:S/\/etc\/mrc\///}

DAEMON:
.endif

.MAIN: ${SCRIPTS:S/.init//:S/.service//}

.PHONY: ${SCRIPTS:S/.init//:S/.service//} _daemon _service

.for file in ${SCRIPTS}
.include "${file}"
.endfor