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:
parent
a408c6430f
commit
c3dcb4a965
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=114365
@ -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"
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user