Fix sendmail to use checkyesno since rc.conf is no longer re'sourced from the

debug statement.
This commit is contained in:
Gordon Tetlow 2002-09-12 17:31:09 +00:00
parent 8e00cef74d
commit 42f10b3fe0
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=103264

View File

@ -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"