diff options
author | jlam <jlam@pkgsrc.org> | 2000-07-24 16:44:52 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2000-07-24 16:44:52 +0000 |
commit | d6b3864d13e0d0a40dd820b82aef62d59def3340 (patch) | |
tree | dae7b5afaa8bab3ae23ce01c833a7661912e52dd /security/openssh | |
parent | a624e619884a767111d10cb35abfe80c9710108d (diff) | |
download | pkgsrc-d6b3864d13e0d0a40dd820b82aef62d59def3340.tar.gz |
Make all the installed /usr/pkg/etc/rc.d/sshd.sh files match.
Also default to "start" command if run with no arguments.
Diffstat (limited to 'security/openssh')
-rw-r--r-- | security/openssh/files/sshd.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/security/openssh/files/sshd.sh b/security/openssh/files/sshd.sh index 8d23e616475..e2fd46678eb 100644 --- a/security/openssh/files/sshd.sh +++ b/security/openssh/files/sshd.sh @@ -1,12 +1,14 @@ #!/bin/sh # -# $NetBSD: sshd.sh,v 1.2 2000/07/22 08:22:02 jlam Exp $ +# $NetBSD: sshd.sh,v 1.3 2000/07/24 16:44:52 jlam Exp $ # name="sshd" pidfile="/var/run/${name}.pid" -case $1 in +command=${1:-start} + +case ${command} in start) if [ ! -f @SSH_CONF_DIR@/ssh_host_key ] then |