1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

Start and stop ripngd in zebractl.

Requested by:	Jun Kuriyama <kuriyama@imgsrc.co.jp>
This commit is contained in:
Josef Karthauser 2001-06-21 17:39:10 +00:00
parent 92d8d67120
commit 291a82d864
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=44289
3 changed files with 12 additions and 3 deletions

View File

@ -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

View File

@ -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

View File

@ -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