aboutsummaryrefslogtreecommitdiff
path: root/etc/rc.d/network3
diff options
context:
space:
mode:
authorMark Murray <markm@FreeBSD.org>2000-02-24 23:12:04 +0000
committerMark Murray <markm@FreeBSD.org>2000-02-24 23:12:04 +0000
commit93e3e5e9e3b314354d85627239cff6861d97c295 (patch)
tree13f693cde82eea6f9baf282e9fa034d7915703d0 /etc/rc.d/network3
parent0d854656e97430e717b8d3962c4a49f7df7ad572 (diff)
downloadsrc-93e3e5e9e3b314354d85627239cff6861d97c295.tar.gz
src-93e3e5e9e3b314354d85627239cff6861d97c295.zip
Run sshd at boot time if the sysadmin wants it. Also install
ssh[d] config files in the right place.
Notes
Notes: svn path=/head/; revision=57459
Diffstat (limited to 'etc/rc.d/network3')
-rw-r--r--etc/rc.d/network37
1 files changed, 7 insertions, 0 deletions
diff --git a/etc/rc.d/network3 b/etc/rc.d/network3
index b42bd655242f..3b0771ce4b87 100644
--- a/etc/rc.d/network3
+++ b/etc/rc.d/network3
@@ -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
}