#!/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
