summaryrefslogtreecommitdiff
path: root/etc/rc.d/bgpd
blob: cb78ce585503f44dad44d6de116eb0fc9f916eaf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh
#
# $OpenBSD: bgpd,v 1.2 2015/12/19 13:45:12 ajacoutot Exp $

daemon="/usr/sbin/bgpd"

. /etc/rc.d/rc.subr

pexp="bgpd: parent.*"

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

rc_cmd $1