etc/rc.d/sendmail: Actually execute sendmail_precmd().
authorSascha Wildner <saw@online.de>
Wed, 20 May 2009 20:03:35 +0000 (22:03 +0200)
committerSascha Wildner <saw@online.de>
Wed, 20 May 2009 20:04:14 +0000 (22:04 +0200)
commit03e2a3c5ec51df1be822987bcc021bccfbd23801
tree2f3c78f843903288826d9b1a988337809147f612
parent12767dfb5034d720c08eaf707a58e28a1d2ad60e
etc/rc.d/sendmail: Actually execute sendmail_precmd().

This will cause the sendmail rc script to care about running
newaliases(1) itself if necessary (database doesn't exist or
/etc/mail/aliases is newer than /etc/mail/aliases.db).

Also add a new rc.conf variable 'sendmail_rebuild_aliases' to
turn off this behavior which is on by default.

This means we don't need to run newaliases(1) ourselves in a
couple of places (such as when building the LiveCD), so remove
those.

Dragonfly-bug: <http://bugs.dragonflybsd.org/issue52>
etc/defaults/rc.conf
etc/rc.d/diskless
etc/rc.d/sendmail
nrelease/Makefile
share/man/man8/rc.sendmail.8