xref: /openbsd/etc/rc.d/bgpd (revision 73471bf0)
1#!/bin/ksh
2#
3# $OpenBSD: bgpd,v 1.5 2019/01/21 01:41:16 claudio Exp $
4
5daemon="/usr/sbin/bgpd"
6
7. /etc/rc.d/rc.subr
8
9# child will not return a config parsing error to the parent
10rc_pre() {
11	# use rcexec here since daemon_flags may contain arguments with spaces
12	${rcexec} "${daemon} -n ${daemon_flags}"
13}
14
15rc_cmd $1
16