aboutsummaryrefslogtreecommitdiffstats
path: root/net/zebra-pj/files/zebractl.sh
diff options
context:
space:
mode:
Diffstat (limited to 'net/zebra-pj/files/zebractl.sh')
-rw-r--r--net/zebra-pj/files/zebractl.sh22
1 files changed, 9 insertions, 13 deletions
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)