diff options
Diffstat (limited to 'etc')
-rw-r--r-- | etc/rc.d/smtpd | 7 | ||||
-rw-r--r-- | etc/rc.d/unwind | 7 |
2 files changed, 12 insertions, 2 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 diff --git a/etc/rc.d/unwind b/etc/rc.d/unwind index 4de08a712e2..6acd5c19001 100644 --- a/etc/rc.d/unwind +++ b/etc/rc.d/unwind @@ -1,9 +1,14 @@ #!/bin/ksh # -# $OpenBSD: unwind,v 1.2 2019/02/07 17:54:01 florian Exp $ +# $OpenBSD: unwind,v 1.3 2022/10/14 11:02:43 kn Exp $ daemon="/sbin/unwind" . /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_cmd $1 |