Fix rcNG script.

This commit is contained in:
Tom McLaughlin 2006-11-10 03:32:57 +00:00
parent ec8320edf5
commit 576b1f34b4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=176978
2 changed files with 8 additions and 5 deletions

View file

@ -6,6 +6,7 @@
#
PORTNAME= xsi
PORTREVISION= 1
PORTVERSION= 0.98.20
CATEGORIES= sysutils
MASTER_SITES= http://xsi.kolabore.ath.cx/download/

View file

@ -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"