diff options
author | markm <markm@FreeBSD.org> | 2000-02-24 23:12:04 +0000 |
---|---|---|
committer | markm <markm@FreeBSD.org> | 2000-02-24 23:12:04 +0000 |
commit | 1b942b3840d42ed0285df9ce5acecc085d72a377 (patch) | |
tree | 8e202046e77fdb80578498386e580e48894261e3 /etc/rc.network | |
parent | 27fe751781019519d2a2b6a7584e6ebb62683272 (diff) | |
download | FreeBSD-src-1b942b3840d42ed0285df9ce5acecc085d72a377.zip FreeBSD-src-1b942b3840d42ed0285df9ce5acecc085d72a377.tar.gz |
Run sshd at boot time if the sysadmin wants it. Also install
ssh[d] config files in the right place.
Diffstat (limited to 'etc/rc.network')
-rw-r--r-- | etc/rc.network | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/etc/rc.network b/etc/rc.network index b42bd65..3b0771c 100644 --- a/etc/rc.network +++ b/etc/rc.network @@ -603,6 +603,13 @@ network_pass3() { ;; esac + case ${sshd_enable} in + [Yy][Ee][Ss]) + echo -n ' sshd'; + ${sshd_program:-/usr/sbin/sshd} ${sshd_flags} + ;; + esac + echo '.' network_pass3_done=YES } |