summaryrefslogtreecommitdiff
path: root/etc/rc.d/relayd
blob: 883775a9d6432e1d466a83060128b455522dd3d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh
#
# $OpenBSD: relayd,v 1.3 2016/02/02 17:51:11 sthen 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