summaryrefslogtreecommitdiff
path: root/gnu/usr.sbin
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2000-04-04 13:58:29 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2000-04-04 13:58:29 +0000
commit602950e0c9a390e1aa8fbbc87ad6adb00420307d (patch)
treee46280dc1dacf543a6af99622d05098642489679 /gnu/usr.sbin
parentf821e2f2ef16cf37eb3640c2f3c4fd263e917430 (diff)
Make sure /etc/netstart references /etc/mail/sendmail.cf, not
/etc/sendmail.cf or on reboot sendmail will not be started.
Diffstat (limited to 'gnu/usr.sbin')
-rw-r--r--gnu/usr.sbin/sendmail/sendmail/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/gnu/usr.sbin/sendmail/sendmail/Makefile b/gnu/usr.sbin/sendmail/sendmail/Makefile
index 1994c8d7b03..7740db50317 100644
--- a/gnu/usr.sbin/sendmail/sendmail/Makefile
+++ b/gnu/usr.sbin/sendmail/sendmail/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.3 2000/04/04 04:50:14 millert Exp $
+# $OpenBSD: Makefile,v 1.4 2000/04/04 13:58:28 millert Exp $
PROG= sendmail
@@ -28,6 +28,10 @@ beforeinstall:
echo "Warning: both /etc/mail/sendmail.cf and /etc/sendmail.cf exist. Sendmail will use /etc/mail/sendmail.cf."; \
fi ; \
fi
+ @if test -f /etc/netstart && grep -q /etc/sendmail.cf /etc/netstart; \
+ then echo "Error: /etc/netstart must check for /etc/mail/sendmail.cf, not /etc/sendmail.cf"; \
+ false; \
+ fi
${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} -m 444 \
${.CURDIR}/helpfile ${DESTDIR}/etc/mail/helpfile
${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} -m 644 \