summaryrefslogtreecommitdiff
path: root/etc/rc.d/bgpd
blob: dd0c956caafab2ceb979a89ec8f2a0a974d0b4eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh
#
# $OpenBSD: bgpd,v 1.3 2016/02/07 20:56:48 sthen Exp $

daemon="/usr/sbin/bgpd"

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