summaryrefslogtreecommitdiff
path: root/etc/rc.d/relayd
blob: 283a11dfe0fd5fa257ce6840e9feaa33ea42bfa2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/ksh
#
# $OpenBSD: relayd,v 1.5 2018/01/11 22:44:44 rpe Exp $

daemon="/usr/sbin/relayd"

. /etc/rc.d/rc.subr

# Child will not return a config parsing error to the parent.
rc_pre() {
	${daemon} -n ${daemon_flags}
}

rc_cmd $1