diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2004-03-02 16:11:11 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2004-03-02 16:11:11 +0000 |
commit | f32f33d8ea58cfc3c95893a51e64cf0d4ac4de1b (patch) | |
tree | 5e98626a3737a6cff388b838be0f520507b88784 | |
parent | e6328e696c69672422ca207c2f51ac8be93403eb (diff) |
A better place for sshd; pointed out by millert
-rw-r--r-- | etc/rc | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -1,4 +1,4 @@ -# $OpenBSD: rc,v 1.236 2004/03/02 15:56:28 deraadt Exp $ +# $OpenBSD: rc,v 1.237 2004/03/02 16:11:10 deraadt Exp $ # System startup script run by init on autoboot # or after single-user. @@ -430,10 +430,6 @@ fi echo -n starting network daemons: -if [ X"${sshd_flags}" != X"NO" ]; then - echo -n ' sshd'; /usr/sbin/sshd ${sshd_flags}; -fi - # $routed_flags are imported from /etc/rc.conf. # If $routed_flags == NO, routed isn't run. if [ "X${routed_flags}" != X"NO" ]; then @@ -531,6 +527,10 @@ if [ X${inetd} = X"YES" -a -e /etc/inetd.conf ]; then echo -n ' inetd'; inetd fi +if [ X"${sshd_flags}" != X"NO" ]; then + echo -n ' sshd'; /usr/sbin/sshd ${sshd_flags}; +fi + # $rarpd_flags is imported from /etc/rc.conf; # If $rarpd_flags == NO or /etc/ethers doesn't exist, then # rarpd isn't run. |