aboutsummaryrefslogtreecommitdiff
path: root/etc/rc.d/var
diff options
context:
space:
mode:
Diffstat (limited to 'etc/rc.d/var')
-rw-r--r--etc/rc.d/var8
1 files changed, 7 insertions, 1 deletions
diff --git a/etc/rc.d/var b/etc/rc.d/var
index 6e4bcc682e98..ae552998c367 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
#