summaryrefslogtreecommitdiffstats
path: root/etc/rc.d/sshd
diff options
context:
space:
mode:
authoryar <yar@FreeBSD.org>2005-10-23 14:06:53 +0000
committeryar <yar@FreeBSD.org>2005-10-23 14:06:53 +0000
commit01c93e49496793c2e81170455d90d7248d50b1a5 (patch)
tree84b261da46f8bd1216335917f3b78c67b8bfb2da /etc/rc.d/sshd
parent7086514f41a8629e4d5de82e04da61a0d8984c7a (diff)
downloadFreeBSD-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/rc.d/sshd')
-rwxr-xr-xetc/rc.d/sshd1
1 files changed, 1 insertions, 0 deletions
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"
OpenPOWER on IntegriCloud