From: Vasilis Tsiligiannis Date: Thu, 12 Jul 2012 08:23:04 +0000 (+0000) Subject: [packages] quagga: Do not try to start 'watchquagga' if it is not available X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=91c0bd5209a99fbf8e5f2d89c728cecf1ae15dde;p=openwrt%2Fsvn-archive%2Farchive.git [packages] quagga: Do not try to start 'watchquagga' if it is not available SVN-Revision: 32675 --- diff --git a/net/quagga/Makefile b/net/quagga/Makefile index 192ec4e359..1219843167 100644 --- a/net/quagga/Makefile +++ b/net/quagga/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=quagga PKG_VERSION:=0.99.21 -PKG_RELEASE:=2 +PKG_RELEASE:=3 PKG_MD5SUM:=99840adbe57047c90dfba6b6ed9aec7f PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz diff --git a/net/quagga/files/quagga b/net/quagga/files/quagga index 0ccfb1cfe9..b172090127 100644 --- a/net/quagga/files/quagga +++ b/net/quagga/files/quagga @@ -33,7 +33,7 @@ DAEMONS="zebra ripd ripngd ospfd ospf6d bgpd" DAEMON_FLAGS=-d WATCHQUAGGA_FLAGS="-d -z -T 60 -R" WATCHQUAGGA_CMD="$0 watchrestart" -if [ ${COMMAND} != "watchrestart" ] +if [ ${COMMAND} != "watchrestart" -a -x "${BINDIR}/watchquagga" ] then DAEMONS="${DAEMONS} watchquagga" fi