git: d6c34d14443a - main - rc.d/sendmail: remove a obsolete upgrade seatbelt
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 13 Mar 2025 19:41:49 UTC
The branch main has been updated by brooks: URL: https://cgit.FreeBSD.org/src/commit/?id=d6c34d14443a391f066a6b3331aa659baec692ff commit d6c34d14443a391f066a6b3331aa659baec692ff Author: Brooks Davis <brooks@FreeBSD.org> AuthorDate: 2025-03-13 19:41:35 +0000 Commit: Brooks Davis <brooks@FreeBSD.org> CommitDate: 2025-03-13 19:41:35 +0000 rc.d/sendmail: remove a obsolete upgrade seatbelt This check was in place to aid the transition from sendmail pre-8.10. 8.10 was released in 2000. It's not possible to upgrade directly from such as system (Freebsd 3?) to FreeBSD 15 so we can drop this. Reviewed by: gshapiro, jhb Differential Revision: https://reviews.freebsd.org/D49308 --- libexec/rc/rc.d/sendmail | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/libexec/rc/rc.d/sendmail b/libexec/rc/rc.d/sendmail index fa82d44ecc35..a9d37f3f7d69 100755 --- a/libexec/rc/rc.d/sendmail +++ b/libexec/rc/rc.d/sendmail @@ -180,17 +180,6 @@ sendmail_cert_create() sendmail_precmd() { - # Die if there's pre-8.10 custom configuration file. This check is - # mandatory for smooth upgrade. See NetBSD PR 10100 for details. - # - if checkyesno ${rcvar} && [ -f "/etc/sendmail.cf" ]; then - if ! cmp -s "/etc/mail/sendmail.cf" "/etc/sendmail.cf"; then - warn \ - "${name} was not started; you have multiple copies of sendmail.cf." - return 1 - fi - fi - # check modifications on /etc/mail/aliases if checkyesno sendmail_rebuild_aliases; then if [ -f "/etc/mail/aliases.db" ]; then