diff options
author | Bruce M Simpson <bms@FreeBSD.org> | 2003-11-05 15:19:55 +0000 |
---|---|---|
committer | Bruce M Simpson <bms@FreeBSD.org> | 2003-11-05 15:19:55 +0000 |
commit | 775f08a2d3ecf9cbd49b14a625ec262828b4d8b6 (patch) | |
tree | 1ef78d24f2d8ff4f5f217708c931a755aac5a055 /net/quagga/files/zebractl.sh | |
parent | The pktrace program has been renamed to mftrace. (diff) |
Update Quagga to 0.96.4.
- Refresh net-snmp configure.ac fix target.
- Add ${SYSCONF_DIR} and ${LOCALSTATE_DIR} configuration variables,
and defaults, so that the vty and zserv.api UNIX domain sockets are
created in a directory for which the ${ENABLE_USER} has access. This
was the cause of much pain previously, causing daemons to fail in
mysterious circumstances.
- Update zebractl.sh script accordingly.
- Add USE_SUBMAKE to ensure that the variables set by the interactive
configure dialog are referenced.
Submitted by: Boris Kovalenko
Notes
Notes:
svn path=/head/; revision=93146
Diffstat (limited to 'net/quagga/files/zebractl.sh')
-rw-r--r-- | net/quagga/files/zebractl.sh | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/net/quagga/files/zebractl.sh b/net/quagga/files/zebractl.sh index ecb0a5976fac..bdc597fcc77d 100644 --- a/net/quagga/files/zebractl.sh +++ b/net/quagga/files/zebractl.sh @@ -1,6 +1,6 @@ #! /bin/sh # -# $FreeBSD: /tmp/pcvs/ports/net/quagga/files/Attic/zebractl.sh,v 1.1 2003-09-27 23:40:56 bms Exp $ +# $FreeBSD: /tmp/pcvs/ports/net/quagga/files/Attic/zebractl.sh,v 1.2 2003-11-05 15:19:55 bms Exp $ # # zebra start/stop script by "Andreas Klemm <andreas@FreeBSD.ORG>" # @@ -19,31 +19,31 @@ fi case $1 in start) - if [ ! -f !!PREFIX!!/etc/zebra/zebra.conf ]; then + if [ ! -f !!SYSCONF_DIR!!/zebra.conf ]; then echo "error: zebra.conf config file is mandatory" exit 1 fi - [ -f !!PREFIX!!/etc/zebra/zebra.conf ] \ + [ -f !!SYSCONF_DIR!!/zebra.conf ] \ && !!PREFIX!!/sbin/zebra -d && echo -n ' zebra' - [ -f !!PREFIX!!/etc/zebra/ripd.conf ] \ + [ -f !!SYSCONF_DIR!!/ripd.conf ] \ && !!PREFIX!!/sbin/ripd -d && echo -n ' ripd' - [ -f !!PREFIX!!/etc/zebra/ripngd.conf ] \ + [ -f !!SYSCONF_DIR!!/ripngd.conf ] \ && !!PREFIX!!/sbin/ripngd -d && echo -n ' ripngd' - [ -f !!PREFIX!!/etc/zebra/ospfd.conf ] \ + [ -f !!SYSCONF_DIR!!/ospfd.conf ] \ && !!PREFIX!!/sbin/ospfd -d && echo -n ' ospfd' - [ -f !!PREFIX!!/etc/zebra/ospf6d.conf ] \ + [ -f !!SYSCONF_DIR!!/ospf6d.conf ] \ && !!PREFIX!!/sbin/ospf6d -d && echo -n ' ospf6d' - [ -f !!PREFIX!!/etc/zebra/bgpd.conf ] \ + [ -f !!SYSCONF_DIR!!/bgpd.conf ] \ && !!PREFIX!!/sbin/bgpd -d && echo -n ' bgpd' ;; stop) - [ -f !!PREFIX!!/etc/zebra/ripd.conf ] && killall ripd - [ -f !!PREFIX!!/etc/zebra/ripngd.conf ] && killall ripngd - [ -f !!PREFIX!!/etc/zebra/ospfd.conf ] && killall ospfd - [ -f !!PREFIX!!/etc/zebra/ospf6d.conf ] && killall ospf6d - [ -f !!PREFIX!!/etc/zebra/bgpd.conf ] && killall bgpd - [ -f !!PREFIX!!/etc/zebra/zebra.conf ] && killall zebra + [ -f !!SYSCONF_DIR!!/ripd.conf ] && killall ripd + [ -f !!SYSCONF_DIR!!/ripngd.conf ] && killall ripngd + [ -f !!SYSCONF_DIR!!/ospfd.conf ] && killall ospfd + [ -f !!SYSCONF_DIR!!/ospf6d.conf ] && killall ospf6d + [ -f !!SYSCONF_DIR!!/bgpd.conf ] && killall bgpd + [ -f !!SYSCONF_DIR!!/zebra.conf ] && killall zebra ;; restart) $0 stop |