mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-11 09:50:12 +00:00
Don't run newaliases if sendmail_enable=NONE.
Submitted by: Matt Peterson <matt at peterson dot org> Approved by: silence on freebsd-rc
This commit is contained in:
parent
b0fdf71656
commit
f0e62d30bd
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=124149
@ -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
|
||||
#
|
||||
|
@ -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
|
||||
#
|
||||
|
@ -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
|
||||
#
|
||||
|
@ -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
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user