summaryrefslogtreecommitdiff
path: root/etc/rc.d/relayd
blob: d5b3bdc59a4fde2836127c5ce7b99be1a09cc6ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/ksh
#
# $OpenBSD: relayd,v 1.8 2022/08/29 19:14:25 ajacoutot Exp $

daemon="/usr/sbin/relayd"

. /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