diff options
author | gordon <gordon@FreeBSD.org> | 2002-08-09 17:45:04 +0000 |
---|---|---|
committer | gordon <gordon@FreeBSD.org> | 2002-08-09 17:45:04 +0000 |
commit | 338f3e58ec003e516fd682b6ed63c488c64538d8 (patch) | |
tree | c314c3f7aa4f105a94e0767eaa974209baca88c6 /etc | |
parent | 07b40589c7c579eca437187a04406144308b7169 (diff) | |
download | FreeBSD-src-338f3e58ec003e516fd682b6ed63c488c64538d8.zip FreeBSD-src-338f3e58ec003e516fd682b6ed63c488c64538d8.tar.gz |
Make the othermta script DTRT when an mta startup script is not specified.
Submitted by: Mike Makonnen <makonnen@pacbell.net>
Diffstat (limited to 'etc')
-rw-r--r-- | etc/rc.d/othermta | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/etc/rc.d/othermta b/etc/rc.d/othermta index 774546f..05236a8 100644 --- a/etc/rc.d/othermta +++ b/etc/rc.d/othermta @@ -13,4 +13,7 @@ load_rc_config 'XXX' -[ "${mta_start_script}" != "/etc/rc.sendmail" ] && sh ${mta_start_script} +if [ -n "${mta_start_script}" ]; then + [ "${mta_start_script}" != "/etc/rc.sendmail" ] && \ + sh ${mta_start_script} "$1" +fi |