diff options
author | obrien <obrien@FreeBSD.org> | 2002-06-21 19:07:21 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2002-06-21 19:07:21 +0000 |
commit | ee31175803e680649c9d3770f90b1c19c36f4740 (patch) | |
tree | 0abdf5caede15a93aca9bc305fe5c4e301ea8649 /etc/rc.d/sendmail | |
parent | b025a2f79b172cdfb37414c3f020d428f23f75cb (diff) | |
download | FreeBSD-src-ee31175803e680649c9d3770f90b1c19c36f4740.zip FreeBSD-src-ee31175803e680649c9d3770f90b1c19c36f4740.tar.gz |
Sync with NetBSD's mainline.
Diffstat (limited to 'etc/rc.d/sendmail')
-rwxr-xr-x | etc/rc.d/sendmail | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/etc/rc.d/sendmail b/etc/rc.d/sendmail index 61a0b6f..992db66 100755 --- a/etc/rc.d/sendmail +++ b/etc/rc.d/sendmail @@ -1,14 +1,12 @@ #!/bin/sh # -# $NetBSD: sendmail,v 1.12 2000/10/09 06:11:38 nisimura Exp $ +# $NetBSD: sendmail,v 1.13 2000/12/18 07:56:41 jmc Exp $ # # PROVIDE: mail # REQUIRE: LOGIN - -# we could do this, but make mail start late, so that things like -# .forward's are not processed until the system is fully operational -## REQUIRE: DAEMON +# we make mail start late, so that things like .forward's are not +# processed until the system is fully operational . /etc/rc.subr @@ -47,8 +45,8 @@ sendmail_precmd() # check couple of common db files, too for f in genericstable virtusertable domaintable mailertable; do - if [ -r "/etc/mail/$f" ] && [ "/etc/mail/$f" -nt "/etc/mail/$f.db" ]; - then + if [ -r "/etc/mail/$f" -a \ + "/etc/mail/$f" -nt "/etc/mail/$f.db" ]; then echo \ "${name}: /etc/mail/$f newer than /etc/mail/$f.db, regenerating" /usr/sbin/makemap hash /etc/mail/$f < /etc/mail/$f |