aboutsummaryrefslogtreecommitdiffstats
path: root/net/zebra-pj
diff options
context:
space:
mode:
authorandreas <andreas@FreeBSD.org>2001-01-26 07:15:36 +0800
committerandreas <andreas@FreeBSD.org>2001-01-26 07:15:36 +0800
commitf4b44a0832f416b4d2d3bff74fd1f766f416ee50 (patch)
treeb8fa3b877bb2fdea738a73e1011ba9a01d680659 /net/zebra-pj
parent4db258a0b9d5df0157dfc28df1b3b286452a53e6 (diff)
downloadfreebsd-ports-gnome-f4b44a0832f416b4d2d3bff74fd1f766f416ee50.tar.gz
freebsd-ports-gnome-f4b44a0832f416b4d2d3bff74fd1f766f416ee50.tar.zst
freebsd-ports-gnome-f4b44a0832f416b4d2d3bff74fd1f766f416ee50.zip
- start zebra processes with -d option to make sure that one process
starts after the other to prevent core dump. This fixes bgp coredump for Knarf - set PORTREVISION Submitted by: Frank Bartels <knarf@camelot.de>
Diffstat (limited to 'net/zebra-pj')
-rw-r--r--net/zebra-pj/Makefile1
-rw-r--r--net/zebra-pj/files/zebractl.sh10
2 files changed, 6 insertions, 5 deletions
diff --git a/net/zebra-pj/Makefile b/net/zebra-pj/Makefile
index 0ee2757c3736..ec0774975b6c 100644
--- a/net/zebra-pj/Makefile
+++ b/net/zebra-pj/Makefile
@@ -7,6 +7,7 @@
PORTNAME= zebra
PORTVERSION= 0.90a
+PORTREVISION= 1
CATEGORIES= net ipv6
MASTER_SITES= ftp://ftp.zebra.org/pub/zebra/
diff --git a/net/zebra-pj/files/zebractl.sh b/net/zebra-pj/files/zebractl.sh
index 129659d2c3e5..62dd00c05245 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.2 2001-01-12 18:29:08 andreas Exp $
+# $FreeBSD: /tmp/pcvs/ports/net/zebra-pj/files/Attic/zebractl.sh,v 1.3 2001-01-25 23:15:36 andreas Exp $
#
# zebra start/stop script by "Andreas Klemm <andreas@FreeBSD.ORG>"
#
@@ -20,16 +20,16 @@ fi
case $1 in
start)
[ -f !!PREFIX!!/etc/zebra/zebra.conf ] && ( \
- !!PREFIX!!/sbin/zebra > /dev/null 2>&1 & \
+ !!PREFIX!!/sbin/zebra -d > /dev/null 2>&1 & \
echo -n ' zebra' )
[ -f !!PREFIX!!/etc/zebra/ripd.conf ] && ( \
- !!PREFIX!!/sbin/ripd > /dev/null 2>&1 & \
+ !!PREFIX!!/sbin/ripd -d > /dev/null 2>&1 & \
echo -n ' ripd' )
[ -f !!PREFIX!!/etc/zebra/ospfd.conf ] && ( \
- !!PREFIX!!/sbin/ospfd > /dev/null 2>&1 & \
+ !!PREFIX!!/sbin/ospfd -d > /dev/null 2>&1 & \
echo -n ' ospfd' )
[ -f !!PREFIX!!/etc/zebra/bgpd.conf ] && ( \
- !!PREFIX!!/sbin/bgpd > /dev/null 2>&1 & \
+ !!PREFIX!!/sbin/bgpd -d > /dev/null 2>&1 & \
echo -n ' bgpd' )
;;