Start sendmail after ldconfig. Put the nail in the coffin on misc/1346.

Submitted by:	Hiroharu Tamaru <tamaru@ap.t.u-tokyo.ac.jp>
This commit is contained in:
Paul Traina 1996-07-13 17:27:39 +00:00
parent 4611b39710
commit 54009bb4b8
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=17161

18
etc/rc
View File

@ -1,5 +1,5 @@
#!/bin/sh
# $Id: rc,v 1.92 1996/06/22 13:05:20 joerg Exp $
# $Id: rc,v 1.93 1996/06/24 19:00:28 pst Exp $
# From: @(#)rc 5.27 (Berkeley) 6/5/91
# System startup script run by init on autoboot
@ -294,14 +294,6 @@ if [ "X${lpd}" != X"NO" -a -x /usr/sbin/lpd ]; then
echo -n ' printer'; lpd
fi
# $sendmail_flags is imported from /etc/sysconfig;
# if $sendmail_flags is something other than NO, sendmail is run.
if [ "X${sendmail_flags}" != X"NO" -a -r /etc/sendmail.cf ]; then
echo -n ' sendmail'; /usr/sbin/sendmail ${sendmail_flags}
fi
echo '.'
# Make shared lib searching a little faster. Leave /usr/lib first if you
# add your own entries or you may come to grief.
if [ -x /sbin/ldconfig ]; then
@ -313,6 +305,14 @@ if [ -x /sbin/ldconfig ]; then
ldconfig ${_LDC}
fi
# $sendmail_flags is imported from /etc/sysconfig;
# if $sendmail_flags is something other than NO, sendmail is run.
if [ "X${sendmail_flags}" != X"NO" -a -r /etc/sendmail.cf ]; then
echo -n ' sendmail'; /usr/sbin/sendmail ${sendmail_flags}
fi
echo '.'
# configure implementation specific stuff
arch=`uname -m`
if [ -f /etc/rc.${arch} ]; then