K 10 svn:author V 8 gshapiro K 8 svn:date V 27 2002-04-11T23:25:57.000000Z K 7 svn:log V 1469 MFC: 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 Revision Changes Path 1.142 +19 -10 src/etc/defaults/rc.conf 1.27 +38 -70 src/etc/mail/Makefile 1.308 +5 -39 src/etc/rc 1.16 +3 -1 src/etc/sendmail/Makefile 1.1 +193 -0 src/etc/sendmail/rc.sendmail (new) 1.160 +13 -105 src/share/man/man5/rc.conf.5 1.26 +4 -0 src/share/man/man8/Makefile 1.1 +241 -0 src/share/man/man8/rc.sendmail.8 (new) END