diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2006-01-07 02:59:20 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2006-01-07 02:59:20 +0000 |
commit | 251d261a17c45df56d6bc2e57ca58e57f66c65cd (patch) | |
tree | 0b50b4b692e2b431f1c79f52623e1c376506283f /net-im/sulci | |
parent | 51eca5f2e6231fcc4ba416c1eac37dfd9af77d7b (diff) | |
download | ports-251d261a17c45df56d6bc2e57ca58e57f66c65cd.tar.gz ports-251d261a17c45df56d6bc2e57ca58e57f66c65cd.zip |
Notes
Diffstat (limited to 'net-im/sulci')
-rw-r--r-- | net-im/sulci/Makefile | 1 | ||||
-rw-r--r-- | net-im/sulci/files/sulci.sh.in | 16 |
2 files changed, 11 insertions, 6 deletions
diff --git a/net-im/sulci/Makefile b/net-im/sulci/Makefile index c15e6a41746c..4e3ab6450cb8 100644 --- a/net-im/sulci/Makefile +++ b/net-im/sulci/Makefile @@ -7,6 +7,7 @@ PORTNAME= sulci PORTVERSION= 0.5.a.20050918 +PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= net-im MASTER_SITES= http://www.jabber.ru/files/sulci/ diff --git a/net-im/sulci/files/sulci.sh.in b/net-im/sulci/files/sulci.sh.in index 549e2173acc9..a47e38b9fa16 100644 --- a/net-im/sulci/files/sulci.sh.in +++ b/net-im/sulci/files/sulci.sh.in @@ -3,27 +3,31 @@ # PROVIDE: sulci # REQUIRE: DAEMON -# BEFORE: LOGIN -# KEYWORD: shutdown # Define these sulci_* variables in one of these files: # /etc/rc.conf # /etc/rc.conf.local # /etc/rc.conf.d/sulci # -# DO NOT CHANGE THESE DEFAULT VALUES HERE +# sulci_enable : bool +# Enable ("YES") or disable ("NO", the default) this startup script. +# +# sulci_precmd : string +# Execute this command before the daemon startup, ":" by default. # -sulci_enable=${sulci_enable-"NO"} -sulci_precmd=":" . %%RC_SUBR%% name="sulci" rcvar=`set_rcvar` + command="%%PREFIX%%/sbin/sulci" command_args="&" -load_rc_config $name +load_rc_config "${name}" + +: ${sulci_enable="NO"} +: ${sulci_precmd=":"} start_precmd="${sulci_precmd}" |