From 8a57b7d09b39ddfb89bcd11bfffa4a2881c0821f Mon Sep 17 00:00:00 2001 From: jperkin Date: Tue, 11 Mar 2014 14:07:04 +0000 Subject: Introduce infrastructure support for SMF. SMF is the Service Management Facility, the default init system in Solaris and derivatives since version 10. This adds "smf" to the list of supported INIT_SYSTEM types, and makes it the default init system on platforms where it is available. Packages can introduce SMF support by providing a manifest file, by default located in ${FILESDIR}/smf/manifest.xml but manifests under ${WRKSRC} can be used too if the package source includes one. SMF method scripts are supported too if required, using SMF_METHODS in a similar manner to RCD_SCRIPTS. Many parts of the SMF infrastructure are configurable, see mk/smf.mk for the full details. --- mk/defaults/mk.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mk/defaults/mk.conf') diff --git a/mk/defaults/mk.conf b/mk/defaults/mk.conf index 6b66d3acb13..7af219ccd50 100644 --- a/mk/defaults/mk.conf +++ b/mk/defaults/mk.conf @@ -1,4 +1,4 @@ -# $NetBSD: mk.conf,v 1.237 2014/03/11 13:45:07 jperkin Exp $ +# $NetBSD: mk.conf,v 1.238 2014/03/11 14:07:04 jperkin Exp $ # # This file provides default values for variables that may be overridden @@ -397,7 +397,7 @@ PKG_SYSCONFBASE?= ${PREFIX}/etc #INIT_SYSTEM= # This determines the type of init system to be used. -# Possible: any of: rc.d +# Possible: any of: rc.d, smf # Default: Platform-dependent, otherwise rc.d RCD_SCRIPTS_DIR?= /etc/rc.d -- cgit v1.2.3