aboutsummaryrefslogtreecommitdiffstats
path: root/net/zebra
diff options
context:
space:
mode:
authorsumikawa <sumikawa@FreeBSD.org>2002-08-05 04:04:50 +0800
committersumikawa <sumikawa@FreeBSD.org>2002-08-05 04:04:50 +0800
commitddca0a763068ddd319411820737c97b1f7c97a42 (patch)
treed6feacb4d62fd1ad4605ebf462179bdc2565cf19 /net/zebra
parent72cc1ab290c8d2ca7e4b6c093332a4c957a3fb49 (diff)
downloadfreebsd-ports-gnome-ddca0a763068ddd319411820737c97b1f7c97a42.tar.gz
freebsd-ports-gnome-ddca0a763068ddd319411820737c97b1f7c97a42.tar.zst
freebsd-ports-gnome-ddca0a763068ddd319411820737c97b1f7c97a42.zip
Support ospf6d in zebractl.sh
PR: ports/37996 Submitted by: ume
Diffstat (limited to 'net/zebra')
-rw-r--r--net/zebra/Makefile1
-rw-r--r--net/zebra/files/zebractl.sh5
2 files changed, 5 insertions, 1 deletions
diff --git a/net/zebra/Makefile b/net/zebra/Makefile
index a05677e780c3..132c61689633 100644
--- a/net/zebra/Makefile
+++ b/net/zebra/Makefile
@@ -7,6 +7,7 @@
PORTNAME= zebra
PORTVERSION= 0.93a
+PORTREVSION= 1
CATEGORIES= net ipv6
MASTER_SITES= ftp://ftp.zebra.org/pub/zebra/ \
ftp://ftp.ripe.net/mirrors/sites/ftp.zebra.org/pub/zebra/ \
diff --git a/net/zebra/files/zebractl.sh b/net/zebra/files/zebractl.sh
index c4e554c636fc..f2ea589111b0 100644
--- a/net/zebra/files/zebractl.sh
+++ b/net/zebra/files/zebractl.sh
@@ -1,6 +1,6 @@
#! /bin/sh
#
-# $FreeBSD: /tmp/pcvs/ports/net/zebra/files/Attic/zebractl.sh,v 1.7 2001-06-21 17:39:10 joe Exp $
+# $FreeBSD: /tmp/pcvs/ports/net/zebra/files/Attic/zebractl.sh,v 1.8 2002-08-04 20:04:50 sumikawa Exp $
#
# zebra start/stop script by "Andreas Klemm <andreas@FreeBSD.ORG>"
#
@@ -31,6 +31,8 @@ case $1 in
&& !!PREFIX!!/sbin/ripngd -d && echo -n ' ripngd'
[ -f !!PREFIX!!/etc/zebra/ospfd.conf ] \
&& !!PREFIX!!/sbin/ospfd -d && echo -n ' ospfd'
+ [ -f !!PREFIX!!/etc/zebra/ospf6d.conf ] \
+ && !!PREFIX!!/sbin/ospf6d -d && echo -n ' ospf6d'
[ -f !!PREFIX!!/etc/zebra/bgpd.conf ] \
&& !!PREFIX!!/sbin/bgpd -d && echo -n ' bgpd'
;;
@@ -39,6 +41,7 @@ case $1 in
[ -f !!PREFIX!!/etc/zebra/ripd.conf ] && killall ripd
[ -f !!PREFIX!!/etc/zebra/ripngd.conf ] && killall ripngd
[ -f !!PREFIX!!/etc/zebra/ospfd.conf ] && killall ospfd
+ [ -f !!PREFIX!!/etc/zebra/ospf6d.conf ] && killall ospf6d
[ -f !!PREFIX!!/etc/zebra/bgpd.conf ] && killall bgpd
[ -f !!PREFIX!!/etc/zebra/zebra.conf ] && killall zebra
;;