diff options
author | brooks <brooks@FreeBSD.org> | 2004-01-05 19:14:47 +0000 |
---|---|---|
committer | brooks <brooks@FreeBSD.org> | 2004-01-05 19:14:47 +0000 |
commit | 37195ec3f88298c7cdfbce6d87c4147648241da4 (patch) | |
tree | e71a9903c4db8c86f01a0bfde265d531cb019b26 /etc/rc.d/var | |
parent | 2ffbc2464e12bb7cf32b64345eb2c12bd2fa7cc6 (diff) | |
download | FreeBSD-src-37195ec3f88298c7cdfbce6d87c4147648241da4.zip FreeBSD-src-37195ec3f88298c7cdfbce6d87c4147648241da4.tar.gz |
Don't run newaliases if sendmail_enable=NONE.
Submitted by: Matt Peterson <matt at peterson dot org>
Approved by: silence on freebsd-rc
Diffstat (limited to 'etc/rc.d/var')
-rw-r--r-- | etc/rc.d/var | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/etc/rc.d/var b/etc/rc.d/var index 6e4bcc6..ae55299 100644 --- a/etc/rc.d/var +++ b/etc/rc.d/var @@ -107,7 +107,13 @@ echo "+++ create lastlog" # Make sure our aliases database is uptodate, the aliases may have # been overriden in /conf. # -/usr/bin/newaliases +case ${sendmail_enable} in +[Nn][Oo][Nn][Ee]) + ;; +*) + /usr/bin/newaliases + ;; +esac # XXX make sure to create one dir for each printer as requested by lpd # |