aboutsummaryrefslogtreecommitdiffstats
path: root/net/zebra-pj/files
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-pj/files
parenta8d833afa72491c8fe504a753346181a7a93ea8f (diff)
downloadfreebsd-ports-graphics-593faa70fce74b982574795f07a553b5840cc2f1.tar.gz
freebsd-ports-graphics-593faa70fce74b982574795f07a553b5840cc2f1.tar.zst
freebsd-ports-graphics-593faa70fce74b982574795f07a553b5840cc2f1.zip
Start and stop ripngd in zebractl.
Requested by: Jun Kuriyama <kuriyama@imgsrc.co.jp>
Diffstat (limited to 'net/zebra-pj/files')
-rw-r--r--net/zebra-pj/files/zebractl.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/net/zebra-pj/files/zebractl.sh b/net/zebra-pj/files/zebractl.sh
index f06ff92f66a..4d7ff4fd8a5 100644
--- a/net/zebra-pj/files/zebractl.sh
+++ b/net/zebra-pj/files/zebractl.sh
@@ -1,6 +1,6 @@
#! /bin/sh
#
-# $FreeBSD: /tmp/pcvs/ports/net/zebra-pj/files/Attic/zebractl.sh,v 1.6 2001-03-22 22:31:17 andreas Exp $
+# $FreeBSD: /tmp/pcvs/ports/net/zebra-pj/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