aboutsummaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorCrist J. Clark <cjc@FreeBSD.org>2002-02-17 02:01:15 +0000
committerCrist J. Clark <cjc@FreeBSD.org>2002-02-17 02:01:15 +0000
commit412c2bb7c13f5efa63df44948f9d763481e618a1 (patch)
treebe129d7d478111fb579062ca56b38a66cb1bd0db /etc
parent7b247033cab4a185962b294e447e9f0b3db39cdd (diff)
Notes
Diffstat (limited to 'etc')
-rw-r--r--etc/rc22
1 files changed, 10 insertions, 12 deletions
diff --git a/etc/rc b/etc/rc
index 7ed64438c54e..e2fa9960ff2b 100644
--- a/etc/rc
+++ b/etc/rc
@@ -687,22 +687,20 @@ case ${usbd_enable} in
;;
esac
-if [ -r /etc/mail/sendmail.cf ]; then
- case ${sendmail_enable} in
+case ${sendmail_enable} in
+[Yy][Ee][Ss])
+ echo -n ' sendmail'
+ /usr/sbin/sendmail ${sendmail_flags}
+ ;;
+*)
+ case ${sendmail_outbound_enable} in
[Yy][Ee][Ss])
echo -n ' sendmail'
- /usr/sbin/sendmail ${sendmail_flags}
- ;;
- *)
- case ${sendmail_outbound_enable} in
- [Yy][Ee][Ss])
- echo -n ' sendmail'
- /usr/sbin/sendmail ${sendmail_outbound_flags}
- ;;
- esac
+ /usr/sbin/sendmail ${sendmail_outbound_flags}
;;
esac
-fi
+ ;;
+esac
echo '.'