summaryrefslogtreecommitdiff
path: root/etc/rc.d/bgpd
blob: 3c8cdb2503e7f5ad93cb27e4d7445de31aacb5b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/ksh
#
# $OpenBSD: bgpd,v 1.4 2018/01/11 19:52:12 rpe 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