1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-02-05 18:05:16 +00:00

Make the othermta script DTRT when an mta startup script is not specified.

Submitted by:	Mike Makonnen <makonnen@pacbell.net>
This commit is contained in:
Gordon Tetlow 2002-08-09 17:45:04 +00:00
parent 5e6fcb8ccc
commit 897102c745
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=101596

View File

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