#!/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
#!/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