summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorAngelos D. Keromytis <angelos@cvs.openbsd.org>2001-01-16 04:08:36 +0000
committerAngelos D. Keromytis <angelos@cvs.openbsd.org>2001-01-16 04:08:36 +0000
commit7ffdb86d2ab3d1646bd0e7d18f28e3425a5af801 (patch)
treeb2b838f6e56e617383bea4513b3e815eead6fe94 /etc
parent13a5951270eb7e34eaeb94410eec952ad3384b40 (diff)
Check whether /etc/inetd.conf exists before starting inetd (chuck@snew.com)
Diffstat (limited to 'etc')
-rw-r--r--etc/rc4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/rc b/etc/rc
index ba7974f0ac5..6f7c192ce93 100644
--- a/etc/rc
+++ b/etc/rc
@@ -1,4 +1,4 @@
-# $OpenBSD: rc,v 1.160 2000/12/30 07:59:27 angelos Exp $
+# $OpenBSD: rc,v 1.161 2001/01/16 04:08:35 angelos Exp $
# System startup script run by init on autoboot
# or after single-user.
@@ -465,7 +465,7 @@ if [ "X${smtpfwdd_flags}" != X"NO" ]; then
fi
-if [ X${inetd} = X"YES" ]; then
+if [ X${inetd} = X"YES" -a -e /etc/inetd.conf ]; then
echo -n ' inetd'; inetd
fi