diff options
Diffstat (limited to 'etc/rc.d/smtpd')
-rw-r--r-- | etc/rc.d/smtpd | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/etc/rc.d/smtpd b/etc/rc.d/smtpd index d7a4ae0dbfe..d58385cb3e9 100644 --- a/etc/rc.d/smtpd +++ b/etc/rc.d/smtpd @@ -1,11 +1,16 @@ #!/bin/ksh # -# $OpenBSD: smtpd,v 1.7 2018/01/11 19:52:12 rpe Exp $ +# $OpenBSD: smtpd,v 1.8 2022/10/14 11:02:43 kn Exp $ daemon="/usr/sbin/smtpd" . /etc/rc.d/rc.subr +rc_configtest() { + # use rc_exec here since daemon_flags may contain arguments with spaces + rc_exec "${daemon} -n ${daemon_flags}" +} + rc_reload=NO rc_cmd $1 |