summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorpst <pst@FreeBSD.org>1996-07-13 17:27:39 +0000
committerpst <pst@FreeBSD.org>1996-07-13 17:27:39 +0000
commit4203d74266977ec57c255c755be30a8e73088d4b (patch)
tree2846c8a34b77549e6011bd8c321f457535a12138 /etc
parentb80456258b0a47807de627b3f56259ec401fe320 (diff)
downloadFreeBSD-src-4203d74266977ec57c255c755be30a8e73088d4b.zip
FreeBSD-src-4203d74266977ec57c255c755be30a8e73088d4b.tar.gz
Start sendmail after ldconfig. Put the nail in the coffin on misc/1346.
Submitted by: Hiroharu Tamaru <tamaru@ap.t.u-tokyo.ac.jp>
Diffstat (limited to 'etc')
-rw-r--r--etc/rc18
1 files changed, 9 insertions, 9 deletions
diff --git a/etc/rc b/etc/rc
index 9fc9564..1d3df00 100644
--- a/etc/rc
+++ b/etc/rc
@@ -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
OpenPOWER on IntegriCloud