summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1996-10-10 20:15:18 +0000
committerMiles Bader <miles@gnu.org>1996-10-10 20:15:18 +0000
commit294eb02cfa7879f760671f3954c6b1869144564f (patch)
treea5f5921071b3754052ded79667cbdaf879d28e3a
parent954b619d29ec3b8a44ef9eb4b623d19a1112549d (diff)
Startup up sendmail if possible.
-rw-r--r--daemons/rc.sh11
1 files changed, 8 insertions, 3 deletions
diff --git a/daemons/rc.sh b/daemons/rc.sh
index 3b62b9e0..10ff5c1f 100644
--- a/daemons/rc.sh
+++ b/daemons/rc.sh
@@ -72,9 +72,14 @@ touch /var/run/mtab
chmod 664 /etc/motd
echo -n starting daemons:
-/sbin/syslogd; echo -n ' syslogd'
-/sbin/inetd; echo -n ' inet'
-echo .
+/sbin/syslogd && echo -n ' syslogd'
+/sbin/inetd && echo -n ' inetd'
+
+if test -x /sbin/sendmail -a -r /etc/sendmail.cf; then
+ /sbin/sendmail -bd -q30m && echo -n ' sendmail'
+fi
+
+echo .
date