From owner-cvs-all Thu Apr 4 18:30:58 2002 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id D7B0C37B41F; Thu, 4 Apr 2002 18:30:49 -0800 (PST) Received: (from gshapiro@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g352Un828740; Thu, 4 Apr 2002 18:30:49 -0800 (PST) (envelope-from gshapiro) Message-Id: <200204050230.g352Un828740@freefall.freebsd.org> From: Gregory Neil Shapiro Date: Thu, 4 Apr 2002 18:30:49 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/etc rc src/etc/defaults rc.conf src/etc/mail Makefile src/etc/sendmail Makefile rc.sendmail src/share/man/man5 rc.conf.5 src/share/man/man8 Makefile rc.sendmail.8 X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG gshapiro 2002/04/04 18:30:49 PST Modified files: etc rc etc/defaults rc.conf etc/mail Makefile etc/sendmail Makefile share/man/man5 rc.conf.5 share/man/man8 Makefile Added files: etc/sendmail rc.sendmail share/man/man8 rc.sendmail.8 Log: 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) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message