summaryrefslogtreecommitdiffstats
path: root/etc/rc.network
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>2000-02-24 23:12:04 +0000
committermarkm <markm@FreeBSD.org>2000-02-24 23:12:04 +0000
commit1b942b3840d42ed0285df9ce5acecc085d72a377 (patch)
tree8e202046e77fdb80578498386e580e48894261e3 /etc/rc.network
parent27fe751781019519d2a2b6a7584e6ebb62683272 (diff)
downloadFreeBSD-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.network7
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
}
OpenPOWER on IntegriCloud