blob: 005e57829d1fea7bf0c06dd214ce46bf93b1e246 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#!/bin/ksh
#
# $OpenBSD: iked,v 1.11 2024/09/23 20:54:01 kn Exp $
daemon="/sbin/iked"
. /etc/rc.d/rc.subr
pexp="iked: parent.*"
rc_configtest() {
# use rc_exec here since daemon_flags may contain arguments with spaces
rc_exec "${daemon} -n ${daemon_flags}"
}
rc_pre() {
if [[ ${sasyncd_flags} != NO ]]; then
daemon_flags="-S ${daemon_flags}"
fi
}
rc_cmd $1
|