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:
yar 2005-10-23 14:06:53 +00:00
parent 7086514f41
commit 01c93e4949
5 changed files with 5 additions and 0 deletions

View File

@ -12,6 +12,7 @@
name="ike"
rcvar=`set_rcvar`
command="/usr/local/sbin/isakmpd"
extra_commands="reload"
load_rc_config $name

View File

@ -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"

View File

@ -11,6 +11,7 @@
name="ppp"
rcvar=`set_rcvar`
command="/usr/sbin/ppp"
start_precmd="ppp_precmd"
start_postcmd="ppp_postcmd"

View File

@ -11,6 +11,7 @@
name="ppp"
rcvar=`set_rcvar`
command="/usr/sbin/ppp"
start_precmd="ppp_precmd"
start_postcmd="ppp_postcmd"

View File

@ -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"