diff options
author | gordon <gordon@FreeBSD.org> | 2002-09-12 17:31:09 +0000 |
---|---|---|
committer | gordon <gordon@FreeBSD.org> | 2002-09-12 17:31:09 +0000 |
commit | 1d629df1423c64eb1569e98b6b2c2c3e6fbcc802 (patch) | |
tree | e560c7e98dac1b705084046f4da0c4846f9c6251 /etc/rc.d/sendmail | |
parent | 2a2bc463a79242d8c99c09ce3ed61cf3374369c3 (diff) | |
download | FreeBSD-src-1d629df1423c64eb1569e98b6b2c2c3e6fbcc802.zip FreeBSD-src-1d629df1423c64eb1569e98b6b2c2c3e6fbcc802.tar.gz |
Fix sendmail to use checkyesno since rc.conf is no longer re'sourced from the
debug statement.
Diffstat (limited to 'etc/rc.d/sendmail')
-rwxr-xr-x | etc/rc.d/sendmail | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/etc/rc.d/sendmail b/etc/rc.d/sendmail index e8501f4..cfb38cd 100755 --- a/etc/rc.d/sendmail +++ b/etc/rc.d/sendmail @@ -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" |