1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00

Properly setup rc.d default macros.

Reminded by:	eik
This commit is contained in:
Joe Marcus Clarke 2004-07-21 19:56:49 +00:00
parent a408c6430f
commit c3dcb4a965
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=114365
2 changed files with 6 additions and 6 deletions

View File

@ -11,9 +11,6 @@
# slpd_enable="YES"
#
slpd_enable="NO"
slpd_flags="-p /var/run/slpd.pid"
. %%RC_SUBR%%
name=slpd
@ -22,5 +19,8 @@ rcvar=`set_rcvar`
command=%%PREFIX%%/sbin/slpd
pidfile="/var/run/${name}.pid"
[ -z "$slpd_enable" ] && slpd_enable="NO"
[ -z "$slpd_flags" ] && slpd_flags="-p /var/run/slpd.pid"
load_rc_config ${name}
run_rc_command "$1"

View File

@ -11,9 +11,6 @@
# slpd_enable="YES"
#
slpd_enable="NO"
slpd_flags="-p /var/run/slpd.pid"
. %%RC_SUBR%%
name=slpd
@ -22,5 +19,8 @@ rcvar=`set_rcvar`
command=%%PREFIX%%/sbin/slpd
pidfile="/var/run/${name}.pid"
[ -z "$slpd_enable" ] && slpd_enable="NO"
[ -z "$slpd_flags" ] && slpd_flags="-p /var/run/slpd.pid"
load_rc_config ${name}
run_rc_command "$1"