pkgsrc-wip/openbgpd-as4byte/files/openbgpd.sh.in
George Michaelson edb12a94da This is a modified import of the FreeBSD port of OpenBGPD.
This pkg includes modifications to implement 4byte (32bit) AS number extensions
to BGP.

the original FreeBSD port descr 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:32:48 +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"