- remove redirection to /dev/null for zebra and routing daemons

you should be able to see error messages if there are any
  Since daemons are started using -d options, you should
  normally see no output...
- bumped PORTREVISION, since its a major win being able
  to see error messages if there are any

Submitted by:	knarf@camelot.de
This commit is contained in:
Andreas Klemm
2001-01-29 22:12:54 +00:00
parent 2e0758ebbb
commit 973d85ecfa
6 changed files with 30 additions and 42 deletions

View File

@@ -7,7 +7,7 @@
PORTNAME= zebra
PORTVERSION= 0.90a
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= net ipv6
MASTER_SITES= ftp://ftp.zebra.org/pub/zebra/

View File

@@ -1,6 +1,6 @@
#! /bin/sh
#
# $FreeBSD: /tmp/pcvs/ports/net/zebra-devel/files/Attic/zebractl.sh,v 1.4 2001-01-27 08:58:15 andreas Exp $
# $FreeBSD: /tmp/pcvs/ports/net/zebra-devel/files/Attic/zebractl.sh,v 1.5 2001-01-29 22:12:54 andreas Exp $
#
# zebra start/stop script by "Andreas Klemm <andreas@FreeBSD.ORG>"
#
@@ -19,18 +19,14 @@ fi
case $1 in
start)
[ -f !!PREFIX!!/etc/zebra/zebra.conf ] && ( \
!!PREFIX!!/sbin/zebra -d > /dev/null 2>&1 \
echo -n ' zebra' )
[ -f !!PREFIX!!/etc/zebra/ripd.conf ] && ( \
!!PREFIX!!/sbin/ripd -d > /dev/null 2>&1 \
echo -n ' ripd' )
[ -f !!PREFIX!!/etc/zebra/ospfd.conf ] && ( \
!!PREFIX!!/sbin/ospfd -d > /dev/null 2>&1 \
echo -n ' ospfd' )
[ -f !!PREFIX!!/etc/zebra/bgpd.conf ] && ( \
!!PREFIX!!/sbin/bgpd -d > /dev/null 2>&1 \
echo -n ' bgpd' )
[ -f !!PREFIX!!/etc/zebra/zebra.conf ] \
&& !!PREFIX!!/sbin/zebra -d && echo -n ' zebra'
[ -f !!PREFIX!!/etc/zebra/ripd.conf ] \
&& !!PREFIX!!/sbin/ripd -d && echo -n ' ripd'
[ -f !!PREFIX!!/etc/zebra/ospfd.conf ] \
&& !!PREFIX!!/sbin/ospfd -d && echo -n ' ospfd'
[ -f !!PREFIX!!/etc/zebra/bgpd.conf ] \
&& !!PREFIX!!/sbin/bgpd -d && echo -n ' bgpd'
;;
stop)

View File

@@ -7,7 +7,7 @@
PORTNAME= zebra
PORTVERSION= 0.90a
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= net ipv6
MASTER_SITES= ftp://ftp.zebra.org/pub/zebra/

View File

@@ -1,6 +1,6 @@
#! /bin/sh
#
# $FreeBSD: /tmp/pcvs/ports/net/zebra-pj/files/Attic/zebractl.sh,v 1.4 2001-01-27 08:58:15 andreas Exp $
# $FreeBSD: /tmp/pcvs/ports/net/zebra-pj/files/Attic/zebractl.sh,v 1.5 2001-01-29 22:12:54 andreas Exp $
#
# zebra start/stop script by "Andreas Klemm <andreas@FreeBSD.ORG>"
#
@@ -19,18 +19,14 @@ fi
case $1 in
start)
[ -f !!PREFIX!!/etc/zebra/zebra.conf ] && ( \
!!PREFIX!!/sbin/zebra -d > /dev/null 2>&1 \
echo -n ' zebra' )
[ -f !!PREFIX!!/etc/zebra/ripd.conf ] && ( \
!!PREFIX!!/sbin/ripd -d > /dev/null 2>&1 \
echo -n ' ripd' )
[ -f !!PREFIX!!/etc/zebra/ospfd.conf ] && ( \
!!PREFIX!!/sbin/ospfd -d > /dev/null 2>&1 \
echo -n ' ospfd' )
[ -f !!PREFIX!!/etc/zebra/bgpd.conf ] && ( \
!!PREFIX!!/sbin/bgpd -d > /dev/null 2>&1 \
echo -n ' bgpd' )
[ -f !!PREFIX!!/etc/zebra/zebra.conf ] \
&& !!PREFIX!!/sbin/zebra -d && echo -n ' zebra'
[ -f !!PREFIX!!/etc/zebra/ripd.conf ] \
&& !!PREFIX!!/sbin/ripd -d && echo -n ' ripd'
[ -f !!PREFIX!!/etc/zebra/ospfd.conf ] \
&& !!PREFIX!!/sbin/ospfd -d && echo -n ' ospfd'
[ -f !!PREFIX!!/etc/zebra/bgpd.conf ] \
&& !!PREFIX!!/sbin/bgpd -d && echo -n ' bgpd'
;;
stop)

View File

@@ -7,7 +7,7 @@
PORTNAME= zebra
PORTVERSION= 0.90a
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= net ipv6
MASTER_SITES= ftp://ftp.zebra.org/pub/zebra/

View File

@@ -1,6 +1,6 @@
#! /bin/sh
#
# $FreeBSD: /tmp/pcvs/ports/net/zebra/files/Attic/zebractl.sh,v 1.4 2001-01-27 08:58:15 andreas Exp $
# $FreeBSD: /tmp/pcvs/ports/net/zebra/files/Attic/zebractl.sh,v 1.5 2001-01-29 22:12:54 andreas Exp $
#
# zebra start/stop script by "Andreas Klemm <andreas@FreeBSD.ORG>"
#
@@ -19,18 +19,14 @@ fi
case $1 in
start)
[ -f !!PREFIX!!/etc/zebra/zebra.conf ] && ( \
!!PREFIX!!/sbin/zebra -d > /dev/null 2>&1 \
echo -n ' zebra' )
[ -f !!PREFIX!!/etc/zebra/ripd.conf ] && ( \
!!PREFIX!!/sbin/ripd -d > /dev/null 2>&1 \
echo -n ' ripd' )
[ -f !!PREFIX!!/etc/zebra/ospfd.conf ] && ( \
!!PREFIX!!/sbin/ospfd -d > /dev/null 2>&1 \
echo -n ' ospfd' )
[ -f !!PREFIX!!/etc/zebra/bgpd.conf ] && ( \
!!PREFIX!!/sbin/bgpd -d > /dev/null 2>&1 \
echo -n ' bgpd' )
[ -f !!PREFIX!!/etc/zebra/zebra.conf ] \
&& !!PREFIX!!/sbin/zebra -d && echo -n ' zebra'
[ -f !!PREFIX!!/etc/zebra/ripd.conf ] \
&& !!PREFIX!!/sbin/ripd -d && echo -n ' ripd'
[ -f !!PREFIX!!/etc/zebra/ospfd.conf ] \
&& !!PREFIX!!/sbin/ospfd -d && echo -n ' ospfd'
[ -f !!PREFIX!!/etc/zebra/bgpd.conf ] \
&& !!PREFIX!!/sbin/bgpd -d && echo -n ' bgpd'
;;
stop)