blob: 6060959692c9d256909461f36e473f783d7f3936 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#!/bin/sh
#
# $NetBSD: sshd.sh,v 1.1 2000/01/27 17:37:19 hubertf Exp $
#
if [ ! -f @SSH_CONF_DIR@/ssh_host_key ]
then
@PREFIX@/bin/ssh-keygen -f @SSH_CONF_DIR@/ssh_host_key -N ''
fi
if [ -x @PREFIX@/sbin/sshd -a -f @SSH_CONF_DIR@/sshd_config ]
then
@PREFIX@/sbin/sshd
echo -n ' sshd'
fi
exit 0
|