mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
Update port: net-im/sulci (fix rc.d/sulci.sh script)
Fix startup rc.d script for new rcNG order. PR: ports/91415 Submitted by: Denis Shaposhnikov <dsh@vlink.ru>
This commit is contained in:
parent
51eca5f2e6
commit
251d261a17
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=152946
@ -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/
|
||||
|
@ -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}"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user