Moving the configuration check to its own configtest function means rc_pre
exit code will now be that of the && list (sasyncd_flags).
Just do what isakmpd does and return 0.
from lucas at sexy dot is, thanks!
#!/bin/ksh
#
-# $OpenBSD: iked,v 1.9 2022/08/29 19:14:25 ajacoutot Exp $
+# $OpenBSD: iked,v 1.10 2022/09/04 06:57:13 ajacoutot Exp $
daemon="/sbin/iked"
rc_pre() {
[[ ${sasyncd_flags} != NO ]] &&
daemon_flags="-S ${daemon_flags}"
+ return 0
}
rc_cmd $1