diff options
author | yar <yar@FreeBSD.org> | 2005-10-23 14:06:53 +0000 |
---|---|---|
committer | yar <yar@FreeBSD.org> | 2005-10-23 14:06:53 +0000 |
commit | 01c93e49496793c2e81170455d90d7248d50b1a5 (patch) | |
tree | 84b261da46f8bd1216335917f3b78c67b8bfb2da /etc | |
parent | 7086514f41a8629e4d5de82e04da61a0d8984c7a (diff) | |
download | FreeBSD-src-01c93e49496793c2e81170455d90d7248d50b1a5.zip FreeBSD-src-01c93e49496793c2e81170455d90d7248d50b1a5.tar.gz |
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.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/rc.d/ike | 1 | ||||
-rwxr-xr-x | etc/rc.d/named | 1 | ||||
-rw-r--r-- | etc/rc.d/ppp | 1 | ||||
-rw-r--r-- | etc/rc.d/ppp-user | 1 | ||||
-rwxr-xr-x | etc/rc.d/sshd | 1 |
5 files changed, 5 insertions, 0 deletions
diff --git a/etc/rc.d/ike b/etc/rc.d/ike index 267113e..df9fe9a 100644 --- a/etc/rc.d/ike +++ b/etc/rc.d/ike @@ -12,6 +12,7 @@ name="ike" rcvar=`set_rcvar` +command="/usr/local/sbin/isakmpd" extra_commands="reload" load_rc_config $name diff --git a/etc/rc.d/named b/etc/rc.d/named index 2b91396..e2246ff 100755 --- a/etc/rc.d/named +++ b/etc/rc.d/named @@ -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" diff --git a/etc/rc.d/ppp b/etc/rc.d/ppp index f13175c..06af79d 100644 --- a/etc/rc.d/ppp +++ b/etc/rc.d/ppp @@ -11,6 +11,7 @@ name="ppp" rcvar=`set_rcvar` +command="/usr/sbin/ppp" start_precmd="ppp_precmd" start_postcmd="ppp_postcmd" diff --git a/etc/rc.d/ppp-user b/etc/rc.d/ppp-user index f13175c..06af79d 100644 --- a/etc/rc.d/ppp-user +++ b/etc/rc.d/ppp-user @@ -11,6 +11,7 @@ name="ppp" rcvar=`set_rcvar` +command="/usr/sbin/ppp" start_precmd="ppp_precmd" start_postcmd="ppp_postcmd" diff --git a/etc/rc.d/sshd b/etc/rc.d/sshd index 2f300d8..321d8f7 100755 --- a/etc/rc.d/sshd +++ b/etc/rc.d/sshd @@ -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" |