summaryrefslogtreecommitdiff
path: root/etc/rc.d/rad
blob: 170141ddbf8a9606a5f3b8cb22de3b7ec8fa18b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/ksh
#
# $OpenBSD: rad,v 1.2 2022/10/14 10:41:43 kn Exp $

daemon="/usr/sbin/rad"

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