summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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