diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2004-03-02 15:56:29 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2004-03-02 15:56:29 +0000 |
commit | 8fd70f65c238597d6e0e1219c09e901a862e21d0 (patch) | |
tree | ffec6b38b254778109716d4adb2860cfad099f25 | |
parent | fdce9dac8aeb87605ee94f54a277c181437f2107 (diff) |
start sshd earlier, ok from various
-rw-r--r-- | etc/rc | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -1,4 +1,4 @@ -# $OpenBSD: rc,v 1.235 2004/02/26 07:33:08 beck Exp $ +# $OpenBSD: rc,v 1.236 2004/03/02 15:56:28 deraadt Exp $ # System startup script run by init on autoboot # or after single-user. @@ -430,6 +430,10 @@ 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 @@ -555,10 +559,6 @@ if [ "X${mopd_flags}" != X"NO" -a -d /tftpboot/mop ]; then echo -n ' mopd'; mopd ${mopd_flags} fi -if [ X"${sshd_flags}" != X"NO" ]; then - echo -n ' sshd'; /usr/sbin/sshd ${sshd_flags}; -fi - echo '.' if [ -x /sbin/wsconsctl -a -f /etc/wsconsctl.conf ]; then |