pkgsrc-wip/openbgpd/files/openbgpd.sh.in
George Michaelson 8a52299111 This is a port of the FreeBSD port of OpenBGPD. -It may not have the full
functionality due to the non-availability of some kernel-level functions such
as the pfkey MD5 

the FreeBSD descr file is appended below.

-George

--

OpenBGPD is a FREE implementation of the Border Gateway Protocol, Version 4.
It allows ordinary machines to be used as routers exchanging routes with
other systems speaking the BGP protocol.

WWW: http://www.openbgp.org/

- Florent Thoumie
flz@xbsd.org
2007-01-12 04:28:34 +00:00

31 lines
556 B
Bash

#!/bin/sh
#
# $FreeBSD: ports/net/openbgpd/files/openbgpd.sh.in,v 1.2 2006/02/20 20:47:27 dougb Exp $
#
# PROVIDE: bgpd
# REQUIRE: LOGIN abi
# BEFORE: securelevel
# KEYWORD: shutdown
# Add the following line to /etc/rc.conf to enable `openbgpd':
#
# openbgpd_enable="YES"
#
# See bgpd(8) for openbgpd_flags
#
. "%%RC_SUBR%%"
name="openbgpd"
rcvar=`set_rcvar`
extra_commands="reload"
command="%%PREFIX%%/sbin/bgpd"
required_files="%%PREFIX%%/etc/bgpd.conf"
load_rc_config "$name"
: ${openbgpd_enable="NO"}
: ${openbgpd_flags=""}
run_rc_command "$1"