aboutsummaryrefslogtreecommitdiffstats
path: root/net/zebra-devel
diff options
context:
space:
mode:
authorjoe <joe@FreeBSD.org>2001-06-22 01:39:10 +0800
committerjoe <joe@FreeBSD.org>2001-06-22 01:39:10 +0800
commit593faa70fce74b982574795f07a553b5840cc2f1 (patch)
treec60f5764072a77687b40584de436d74efdc8a7a1 /net/zebra-devel
parenta8d833afa72491c8fe504a753346181a7a93ea8f (diff)
downloadfreebsd-ports-gnome-593faa70fce74b982574795f07a553b5840cc2f1.tar.gz
freebsd-ports-gnome-593faa70fce74b982574795f07a553b5840cc2f1.tar.zst
freebsd-ports-gnome-593faa70fce74b982574795f07a553b5840cc2f1.zip
Start and stop ripngd in zebractl.
Requested by: Jun Kuriyama <kuriyama@imgsrc.co.jp>
Diffstat (limited to 'net/zebra-devel')
-rw-r--r--net/zebra-devel/files/zebractl.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/net/zebra-devel/files/zebractl.sh b/net/zebra-devel/files/zebractl.sh
index 615239f3efcc..cdfa9bc5986a 100644
--- a/net/zebra-devel/files/zebractl.sh
+++ b/net/zebra-devel/files/zebractl.sh
@@ -1,6 +1,6 @@
#! /bin/sh
#
-# $FreeBSD: /tmp/pcvs/ports/net/zebra-devel/files/Attic/zebractl.sh,v 1.6 2001-03-22 22:31:17 andreas Exp $
+# $FreeBSD: /tmp/pcvs/ports/net/zebra-devel/files/Attic/zebractl.sh,v 1.7 2001-06-21 17:39:10 joe Exp $
#
# zebra start/stop script by "Andreas Klemm <andreas@FreeBSD.ORG>"
#
@@ -27,6 +27,8 @@ case $1 in
&& !!PREFIX!!/sbin/zebra -d && echo -n ' zebra'
[ -f !!PREFIX!!/etc/zebra/ripd.conf ] \
&& !!PREFIX!!/sbin/ripd -d && echo -n ' ripd'
+ [ -f !!PREFIX!!/etc/zebra/ripngd.conf ] \
+ && !!PREFIX!!/sbin/ripngd -d && echo -n ' ripngd'
[ -f !!PREFIX!!/etc/zebra/ospfd.conf ] \
&& !!PREFIX!!/sbin/ospfd -d && echo -n ' ospfd'
[ -f !!PREFIX!!/etc/zebra/bgpd.conf ] \
@@ -35,6 +37,7 @@ case $1 in
stop)
[ -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/bgpd.conf ] && killall bgpd
[ -f !!PREFIX!!/etc/zebra/zebra.conf ] && killall zebra