summaryrefslogtreecommitdiffstats
path: root/share/man/man8/Makefile
diff options
context:
space:
mode:
authorgshapiro <gshapiro@FreeBSD.org>2002-04-05 02:30:49 +0000
committergshapiro <gshapiro@FreeBSD.org>2002-04-05 02:30:49 +0000
commitcd7393b94051f11e7ecfda263a475d2e7971c193 (patch)
tree2f224401e91686cb1b50b4d91085277cadcdf2b4 /share/man/man8/Makefile
parent293815b90a63bfb4b51aa0aaa0d1d8fc6967f574 (diff)
downloadFreeBSD-src-cd7393b94051f11e7ecfda263a475d2e7971c193.zip
FreeBSD-src-cd7393b94051f11e7ecfda263a475d2e7971c193.tar.gz
Quoting Peter Wemm, "At great personal risk, touch the sendmail startup
again." As an alternative to sendmail_enable=NONE, solve the boot time problem for non-sendmail users completely by moving all of the sendmail startup code from /etc/rc to /etc/rc.sendmail. The source for that script will be kept in src/etc/sendmail/rc.sendmail so make.conf's NO_SENDMAIL will prevent it from being installed. A new rc.conf variable, mta_start_script specifies the script to run to start the user's preferred MTA. For backward compatibility, it will default to /etc/rc.sendmail. The specified script is called out of /etc/rc after checking to make sure it exists. A new rc.sendmail.8 man page has also been added which now houses the sendmail_* variable descriptions formerly in rc.conf.5. Use /etc/rc.sendmail in /etc/mail/Makefile to reduce code duplication. Reviewed by: -current, -stable, obrien, peter, ru MFC after: 1 week
Diffstat (limited to 'share/man/man8/Makefile')
-rw-r--r--share/man/man8/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/share/man/man8/Makefile b/share/man/man8/Makefile
index 505443f..f509733 100644
--- a/share/man/man8/Makefile
+++ b/share/man/man8/Makefile
@@ -10,6 +10,10 @@ MAN= adding_user.8 \
sticky.8 \
yp.8
+.if !defined(NO_SENDMAIL)
+MAN+= rc.sendmail.8
+.endif
+
MLINKS= rc.8 rc.early.8 rc.8 rc.serial.8 rc.8 rc.pccard.8 rc.8 rc.network.8
MLINKS+=rc.8 rc.firewall.8 rc.8 rc.atm.8 rc.8 rc.local.8 rc.8 rc.shutdown.8
MLINKS+=yp.8 YP.8 yp.8 NIS.8 yp.8 nis.8
OpenPOWER on IntegriCloud