From: agb Date: Tue, 3 Mar 2009 10:32:22 +0000 (+0000) Subject: [packages] net/vnstat: fix crontab entry X-Git-Url: http://git.archive.openwrt.org/?a=commitdiff_plain;h=9e6dc683340576a98a8b0a41b59b56c67e769315;p=packages.git [packages] net/vnstat: fix crontab entry git-svn-id: svn://svn.openwrt.org/openwrt/packages@14733 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/net/vnstat/Makefile b/net/vnstat/Makefile index 481d50686..f4dd48431 100644 --- a/net/vnstat/Makefile +++ b/net/vnstat/Makefile @@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=vnstat PKG_VERSION:=1.6 -PKG_RELEASE:=2 +PKG_RELEASE:=3 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=http://humdi.net/vnstat @@ -67,7 +67,7 @@ if [ -n $$IFACE_WAN ]; then [ -e $$LIB_D/$$IFACE_WAN ] || ( [ -x $$BIN ] && $$BIN -u -i $$IFACE_WAN ) fi grep -q "$$BIN_REL -u" $$CRONTAB 2>/dev/null -[ $$? -ne 0 ] && echo "*/30 * * * * root if [ -x $$BIN_REL ] && [ \`ls $$LIB_D_REL | wc -l\` -ge 1 ]; then $$BIN_REL -u; fi" >> $$CRONTAB +[ $$? -ne 0 ] && echo "*/30 * * * * if [ -x $$BIN_REL ] && [ \`ls $$LIB_D_REL | wc -l\` -ge 1 ]; then $$BIN_REL -u; fi" >> $$CRONTAB true endef