fiss-minit

A standalone service supervisor based on minit
Log | Files | Refs | README | LICENSE

commit 82c8c8bbf66cad97433754c6cf3855e7a4298d1b
parent 7b2d652a50de40c265e0b5f53f0b265a60bbfc02
Author: leitner <leitner>
Date:   Wed, 24 Sep 2014 09:58:26 +0000

allow overriding MINITROOT by setting it in the environment

Diffstat:
MMakefile | 4++++
Mminit.h | 2++
2 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/Makefile b/Makefile @@ -32,6 +32,10 @@ DIET+=-Os endif endif +ifneq ($(MINITROOT),) +CFLAGS+="-DMINITROOT=\"$(MINITROOT)\"" +endif + LDLIBS=-lowfat libowfat_path = $(strip $(foreach dir,../libowfat*,$(wildcard $(dir)/textcode.h))) diff --git a/minit.h b/minit.h @@ -1,4 +1,6 @@ +#ifndef MINITROOT #define MINITROOT "/etc/minit" +#endif #ifndef NOVARS static struct process {