aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/xsi/files
diff options
context:
space:
mode:
authortmclaugh <tmclaugh@FreeBSD.org>2006-11-10 11:32:57 +0800
committertmclaugh <tmclaugh@FreeBSD.org>2006-11-10 11:32:57 +0800
commitcb6ea7e0c3f52a1a320bfa51bc48e00a5ebc5de8 (patch)
treeda5030fe5fdd89ca3c6c4b73602d224b2b055ece /sysutils/xsi/files
parent1970bc2f55189282150edd8d79147b4cdac946c0 (diff)
downloadfreebsd-ports-gnome-cb6ea7e0c3f52a1a320bfa51bc48e00a5ebc5de8.tar.gz
freebsd-ports-gnome-cb6ea7e0c3f52a1a320bfa51bc48e00a5ebc5de8.tar.zst
freebsd-ports-gnome-cb6ea7e0c3f52a1a320bfa51bc48e00a5ebc5de8.zip
Fix rcNG script.
Diffstat (limited to 'sysutils/xsi/files')
-rw-r--r--sysutils/xsi/files/xsi.in12
1 files changed, 7 insertions, 5 deletions
diff --git a/sysutils/xsi/files/xsi.in b/sysutils/xsi/files/xsi.in
index 0245ac34ca5d..7f3d81d88e28 100644
--- a/sysutils/xsi/files/xsi.in
+++ b/sysutils/xsi/files/xsi.in
@@ -5,19 +5,21 @@
# PROVIDE: xsi
# REQUIRE: NETWORKING
#
-# Add the following line to /etc/rc.conf to enable the XSI daemon
-#
+# Add the following line to /etc/rc.conf to enable the XSI daemon:
# xsi_enable="YES"
#
+# Optional variables:
+# xsi_flags
+#
-xsi_enable=${hald_enable-"NO"}
-xsi_flags=${hald_flags-""}
+xsi_enable=${xsi_enable-"NO"}
+xsi_flags=${xsi_flags-""}
. %%RC_SUBR%%
name=xsi
rcvar=`set_rcvar`
-command=%%PREFIX%%/bin/${name}
+command=%%PREFIX%%/bin/${name} ${xsi_flags}
load_rc_config ${name}
run_rc_command "$1"