diff options
author | andreas <andreas@FreeBSD.org> | 2001-01-30 06:12:54 +0800 |
---|---|---|
committer | andreas <andreas@FreeBSD.org> | 2001-01-30 06:12:54 +0800 |
commit | 9d23180ac89ce9732943a44de98294adbea7c195 (patch) | |
tree | 22fde6eeefb4e0586352fd93f31bd15cfe8ad2d3 | |
parent | 563d2b2fd6fa4198848fec8d474675fc07b7e706 (diff) | |
download | freebsd-ports-gnome-9d23180ac89ce9732943a44de98294adbea7c195.tar.gz freebsd-ports-gnome-9d23180ac89ce9732943a44de98294adbea7c195.tar.zst freebsd-ports-gnome-9d23180ac89ce9732943a44de98294adbea7c195.zip |
- 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
-rw-r--r-- | net/zebra-devel/Makefile | 2 | ||||
-rw-r--r-- | net/zebra-devel/files/zebractl.sh | 22 | ||||
-rw-r--r-- | net/zebra-pj/Makefile | 2 | ||||
-rw-r--r-- | net/zebra-pj/files/zebractl.sh | 22 | ||||
-rw-r--r-- | net/zebra/Makefile | 2 | ||||
-rw-r--r-- | net/zebra/files/zebractl.sh | 22 |
6 files changed, 30 insertions, 42 deletions
diff --git a/net/zebra-devel/Makefile b/net/zebra-devel/Makefile index 71e04471a757..24377458d5ad 100644 --- a/net/zebra-devel/Makefile +++ b/net/zebra-devel/Makefile @@ -7,7 +7,7 @@ PORTNAME= zebra PORTVERSION= 0.90a -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= net ipv6 MASTER_SITES= ftp://ftp.zebra.org/pub/zebra/ diff --git a/net/zebra-devel/files/zebractl.sh b/net/zebra-devel/files/zebractl.sh index 30dc2832ff1a..4de675bf1fb6 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.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) diff --git a/net/zebra-pj/Makefile b/net/zebra-pj/Makefile index 71e04471a757..24377458d5ad 100644 --- a/net/zebra-pj/Makefile +++ b/net/zebra-pj/Makefile @@ -7,7 +7,7 @@ PORTNAME= zebra PORTVERSION= 0.90a -PORTREVISION= 2 +PORTREVISION= 3 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 f7c485fd2c40..40a8a2ca59c4 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.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) diff --git a/net/zebra/Makefile b/net/zebra/Makefile index 71e04471a757..24377458d5ad 100644 --- a/net/zebra/Makefile +++ b/net/zebra/Makefile @@ -7,7 +7,7 @@ PORTNAME= zebra PORTVERSION= 0.90a -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= net ipv6 MASTER_SITES= ftp://ftp.zebra.org/pub/zebra/ diff --git a/net/zebra/files/zebractl.sh b/net/zebra/files/zebractl.sh index 8002c04dc1e3..140dc2713abc 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.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) |