Overview
Comment: | change how init works |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
d724289db9923fc7f95c5ca941f9fa48 |
User & Date: | arcade on 2020-04-10 08:23:18.301 |
Other Links: | manifest | tags |
Context
2020-05-26
| ||
07:02 | clean up check-in: 8f163fdf5e user: arcade tags: trunk | |
2020-04-10
| ||
08:23 | change how init works check-in: d724289db9 user: arcade tags: trunk | |
08:22 | add service example and few services check-in: bd31af2533 user: arcade tags: trunk | |
Changes
Modified Makefile
from [bb5a29dbec]
to [4642b9f184].
︙ | ︙ | |||
18 19 20 21 22 23 24 25 26 27 28 29 30 31 | install: install rc /etc/rc SCRIPTS=${:!find /etc/mrc -name '*.service.mk'!:S/\/etc\/mrc\///} .if defined(AUTOBOOT) .ERROR: : ERROR: ABORTING BOOT (sending SIGTERM to parent)! : target ${.ERROR_TARGET} failed to execute: : ${.ERROR_CMD} kill 1 .else DAEMON: NETWORK SERVERS | > > < < < < > > > > > | < < | 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 | install: install rc /etc/rc SCRIPTS=${:!find /etc/mrc -name '*.service.mk'!:S/\/etc\/mrc\///} .if defined(AUTOBOOT) .include "init.mk" .ERROR: : ERROR: ABORTING BOOT (sending SIGTERM to parent)! : target ${.ERROR_TARGET} failed to execute: : ${.ERROR_CMD} kill 1 .else DAEMON: NETWORK SERVERS LOGIN: DAEMON NETWORK: SERVERS: SERVICE: mount: root: netif: newsyslog: .endif test: echo Empty target. TARGETS:=${SCRIPTS:S/.service.mk//} .for file in ${SCRIPTS} #.info ${file} .include "${file}" .if !target(${file:S/.service.mk//}) ${file:S/.service.mk//}: _service .endif .endfor .MAIN: ${TARGETS} .PHONY: ${TARGETS} ${OTHER_TARGETS} .undef TARGETS OTHER_TARGETS SCRIPTS ENABLED=${:!env!:C/=.*//:M*_ENABLE} |
︙ | ︙ |