Don't be lazy, set the "command" variable even if
/etc/defaults/rc.conf will provide foo_program, too. By specifying "command" we explicitly say that we're going to rely on rc.subr(8) default methods, and rc.subr(8) will take advantage of this soon. The majority of our rc.d scripts already set "command" if appropriate, so fix just the non-compliant handful.
This commit is contained in:
parent
7086514f41
commit
01c93e4949
@ -12,6 +12,7 @@
|
||||
|
||||
name="ike"
|
||||
rcvar=`set_rcvar`
|
||||
command="/usr/local/sbin/isakmpd"
|
||||
extra_commands="reload"
|
||||
|
||||
load_rc_config $name
|
||||
|
@ -13,6 +13,7 @@
|
||||
|
||||
name="named"
|
||||
rcvar=`set_rcvar`
|
||||
command="/usr/sbin/${name}"
|
||||
start_precmd="named_precmd"
|
||||
start_postcmd="make_symlinks"
|
||||
stop_postcmd="named_poststop"
|
||||
|
@ -11,6 +11,7 @@
|
||||
|
||||
name="ppp"
|
||||
rcvar=`set_rcvar`
|
||||
command="/usr/sbin/ppp"
|
||||
start_precmd="ppp_precmd"
|
||||
start_postcmd="ppp_postcmd"
|
||||
|
||||
|
@ -11,6 +11,7 @@
|
||||
|
||||
name="ppp"
|
||||
rcvar=`set_rcvar`
|
||||
command="/usr/sbin/ppp"
|
||||
start_precmd="ppp_precmd"
|
||||
start_postcmd="ppp_postcmd"
|
||||
|
||||
|
@ -11,6 +11,7 @@
|
||||
|
||||
name="sshd"
|
||||
rcvar=`set_rcvar`
|
||||
command="/usr/sbin/${name}"
|
||||
keygen_cmd="sshd_keygen"
|
||||
start_precmd="sshd_precmd"
|
||||
pidfile="/var/run/${name}.pid"
|
||||
|
Loading…
Reference in New Issue
Block a user