From 84330c3633a909c25455cca49803d96ac9159c1e Mon Sep 17 00:00:00 2001 From: swills Date: Tue, 21 Nov 2017 16:56:24 +0000 Subject: sysutils/daemontools-encore: Fix RC script PR: 211961 Submitted by: Christian Ullrich --- sysutils/daemontools-encore/Makefile | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'sysutils') diff --git a/sysutils/daemontools-encore/Makefile b/sysutils/daemontools-encore/Makefile index 4cb1ec22cf20..677d748d108a 100644 --- a/sysutils/daemontools-encore/Makefile +++ b/sysutils/daemontools-encore/Makefile @@ -18,6 +18,28 @@ CONFLICTS= daemontools-[0-9]* freedt-[0-9]* serialmail-[0-9]* ALL_TARGET= default +S_EARLY_DESC= Start early, before the normal daemons +S_NORMAL_DESC= Start normally in the usual boot sequence + +OPTIONS_SINGLE= SEQ +OPTIONS_SINGLE_SEQ= S_EARLY S_NORMAL + +OPTIONS_DEFAULT= S_NORMAL + +.include + +. if ${PORT_OPTIONS:MS_EARLY} +SVSCAN_REQUIRE?= SERVERS +SVSCAN_BEFORE?= DAEMON +. endif + +. if ${PORT_OPTIONS:MS_NORMAL} +SVSCAN_REQUIRE?= LOGIN +SVSCAN_BEFORE?= +. endif + +SUB_LIST+= SVSCAN_REQUIRE=${SVSCAN_REQUIRE} SVSCAN_BEFORE=${SVSCAN_BEFORE} + USE_RC_SUBR= svscan MANFILES= \ -- cgit