diff options
Diffstat (limited to 'etc/rc.d')
-rw-r--r-- | etc/rc.d/diskless | 8 | ||||
-rw-r--r-- | etc/rc.d/resolv | 8 | ||||
-rw-r--r-- | etc/rc.d/tmp | 8 | ||||
-rw-r--r-- | etc/rc.d/var | 8 |
4 files changed, 28 insertions, 4 deletions
diff --git a/etc/rc.d/diskless b/etc/rc.d/diskless index 6e4bcc682e98..ae552998c367 100644 --- a/etc/rc.d/diskless +++ b/etc/rc.d/diskless @@ -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 # diff --git a/etc/rc.d/resolv b/etc/rc.d/resolv index 6e4bcc682e98..ae552998c367 100644 --- a/etc/rc.d/resolv +++ b/etc/rc.d/resolv @@ -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 # diff --git a/etc/rc.d/tmp b/etc/rc.d/tmp index 6e4bcc682e98..ae552998c367 100644 --- a/etc/rc.d/tmp +++ b/etc/rc.d/tmp @@ -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 # 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 # |