summaryrefslogtreecommitdiff
path: root/net/zebra-pj/files/zebractl.sh
diff options
context:
space:
mode:
authorAndreas Klemm <andreas@FreeBSD.org>2001-03-22 22:31:17 +0000
committerAndreas Klemm <andreas@FreeBSD.org>2001-03-22 22:31:17 +0000
commit11f69929229465741bf83ca387d8bf656366cec3 (patch)
tree33fb77c5338bf3a9fb4c5a7c8bb03fe268e837d8 /net/zebra-pj/files/zebractl.sh
parentmark as BROKEN temporarily; Gtk+-1.2.9 does not allow setuid program. (diff)
update to new zebra 0.91a
- some workarounds concerning installation of zebra info files since sources doesn't contain all info files... - modified zebractl script to check, if zebra.conf exists, which is needed for every routing protocol, error message and exit if not found. From the author: "0.91 is basically a bugfix release. All of IPv6 codes are based upon new RIB codes" Bugfixes and features see ChangeLog file.
Notes
Notes: svn path=/head/; revision=40221
Diffstat (limited to 'net/zebra-pj/files/zebractl.sh')
-rw-r--r--net/zebra-pj/files/zebractl.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/net/zebra-pj/files/zebractl.sh b/net/zebra-pj/files/zebractl.sh
index 40a8a2ca59c4..f06ff92f66a7 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.5 2001-01-29 22:12:54 andreas Exp $
+# $FreeBSD: /tmp/pcvs/ports/net/zebra-pj/files/Attic/zebractl.sh,v 1.6 2001-03-22 22:31:17 andreas Exp $
#
# zebra start/stop script by "Andreas Klemm <andreas@FreeBSD.ORG>"
#
@@ -19,6 +19,10 @@ fi
case $1 in
start)
+ if [ ! -f !!PREFIX!!/etc/zebra/zebra.conf ]; then
+ echo "error: zebra.conf config file is mandatory"
+ exit 1
+ fi
[ -f !!PREFIX!!/etc/zebra/zebra.conf ] \
&& !!PREFIX!!/sbin/zebra -d && echo -n ' zebra'
[ -f !!PREFIX!!/etc/zebra/ripd.conf ] \