summaryrefslogtreecommitdiff
path: root/etc/rc.d/bgpd
blob: 90308f807053e27589ffe5a7e8d628c091751d69 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/ksh
#
# $OpenBSD: bgpd,v 1.7 2022/08/29 19:14:25 ajacoutot Exp $

daemon="/usr/sbin/bgpd"

. /etc/rc.d/rc.subr

rc_configtest() {
	# use rc_exec here since daemon_flags may contain arguments with spaces
	rc_exec "${daemon} -n ${daemon_flags}"
}

rc_cmd $1