mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-29 08:52:46 +00:00
Fix sendmail to use checkyesno since rc.conf is no longer re'sourced from the
debug statement.
This commit is contained in:
parent
8e00cef74d
commit
42f10b3fe0
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=103264
@ -87,16 +87,12 @@ case ${OSTYPE} in
|
||||
FreeBSD)
|
||||
required_files=
|
||||
|
||||
# I'd like to use checkyesno here, but for reason, sendmail_enable
|
||||
# get's reset after run_rc_command
|
||||
case ${sendmail_enable} in
|
||||
[Nn][Oo]*)
|
||||
if ! checkyesno sendmail_enable; then
|
||||
name="sendmail_submit"
|
||||
rcvar=`set_rcvar`
|
||||
start_cmd="${command} ${sendmail_submit_flags}"
|
||||
run_rc_command "$1"
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
||||
if ! checkyesno sendmail_outbound_enable; then
|
||||
name="sendmail_outbound"
|
||||
|
Loading…
Reference in New Issue
Block a user