Browse Source

oops, got shared library part wrong

OPENBSD_2_6
deraadt 25 years ago
parent
commit
1ba7923936
1 changed files with 9 additions and 6 deletions
  1. +9
    -6
      src/etc/rc

+ 9
- 6
src/etc/rc View File

@ -1,4 +1,4 @@
# $OpenBSD: rc,v 1.121 1999/10/11 20:09:53 millert Exp $
# $OpenBSD: rc,v 1.122 1999/10/15 19:51:29 deraadt Exp $
# System startup script run by init on autoboot # System startup script run by init on autoboot
# or after single-user. # or after single-user.
@ -450,13 +450,16 @@ if [ "X${mopd_flags}" != X"NO" -a -d /tftpboot/mop ]; then
echo -n ' mopd'; mopd ${mopd_flags} echo -n ' mopd'; mopd ${mopd_flags}
fi fi
if [ X"${sshd}" == X"YES" -a -x /usr/sbin/sshd ]; then
if /usr/sbin/sshd -Q ; then
echo -n ' sshd';
#echo -n ' sshd(2022)'; /usr/sbin/sshd -p 2022
elif [ -f /usr/local/sbin/sshd ]; then
if [ X"${sshd}" == X"YES" ]; then
if [ -x /usr/sbin/sshd ]; then
if /usr/sbin/sshd -Q ; then
echo -n ' sshd';
#echo -n ' sshd(2022)'; /usr/sbin/sshd -p 2022
fi
elif [ -x /usr/local/sbin/sshd ]; then
/usr/local/sbin/sshd /usr/local/sbin/sshd
echo -n ' sshd'; echo -n ' sshd';
#echo -n ' sshd(2022)'; /usr/local/sbin/sshd -p 2022
fi fi
fi fi


Loading…
Cancel
Save