summaryrefslogtreecommitdiff
path: root/etc/rc
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2000-07-05 17:15:52 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2000-07-05 17:15:52 +0000
commit794cb1a8c3f36a1d7fbe817ee7a62b638c6be96a (patch)
tree1db6b344c62a0834b03eb9884b11ee4f5d8c40b2 /etc/rc
parentf4045c3659c4bfff280b46226e59f9b837c5fe78 (diff)
Start sendmail in the background so it doesn't cause blockage
on reboot timing out on DNS problems.
Diffstat (limited to 'etc/rc')
-rw-r--r--etc/rc4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/rc b/etc/rc
index 0f074b80f09..d21b75ad935 100644
--- a/etc/rc
+++ b/etc/rc
@@ -1,4 +1,4 @@
-# $OpenBSD: rc,v 1.143 2000/07/02 21:24:00 espie Exp $
+# $OpenBSD: rc,v 1.144 2000/07/05 17:15:51 millert Exp $
# System startup script run by init on autoboot
# or after single-user.
@@ -435,7 +435,7 @@ fi
# sendmail isn't run. We call sendmail with a full path so that
# SIGHUP works.
if [ "X${sendmail_flags}" != X"NO" -a -s /etc/mail/sendmail.cf ]; then
- echo -n ' sendmail'; /usr/sbin/sendmail ${sendmail_flags}
+ echo -n ' sendmail'; ( /usr/sbin/sendmail ${sendmail_flags} >/dev/null & )
fi
if [ "X${httpd_flags}" != X"NO" ]; then