aboutsummaryrefslogtreecommitdiffstats
path: root/net
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
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')
-rw-r--r--net/zebra-devel/files/zebractl.sh5
-rw-r--r--net/zebra-pj/files/zebractl.sh5
-rw-r--r--net/zebra/files/zebractl.sh5
3 files changed, 12 insertions, 3 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
diff --git a/net/zebra-pj/files/zebractl.sh b/net/zebra-pj/files/zebractl.sh
index f06ff92f66a7..4d7ff4fd8a5a 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
diff --git a/net/zebra/files/zebractl.sh b/net/zebra/files/zebractl.sh
index 78ff1890c964..c4e554c636fc 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.6 2001-03-22 22:31:17 andreas Exp $
+# $FreeBSD: /tmp/pcvs/ports/net/zebra/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