From f375c498f2058b9d8244a628ca78ef5110b2be79 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Wed, 21 Apr 2010 22:57:07 +0000 Subject: applications: add luci-vnstat, frontend for the VnStat traffic monitor --- contrib/package/luci/Makefile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'contrib/package') diff --git a/contrib/package/luci/Makefile b/contrib/package/luci/Makefile index 9d4d84e9e..55c21a5a8 100644 --- a/contrib/package/luci/Makefile +++ b/contrib/package/luci/Makefile @@ -788,6 +788,17 @@ define Package/luci-app-wol/install $(call Package/luci/install/template,$(1),applications/luci-wol) endef +define Package/luci-app-vnstat + $(call Package/luci/webtemplate) + TITLE:=LuCI Support for VnStat + DEPENDS+=+luci-admin-core +PACKAGE_luci-app-vnstat:vnstat \ + +PACKAGE_luci-app-vnstat:vnstati +endef + +define Package/luci-app-vnstat/install + $(call Package/luci/install/template,$(1),applications/luci-vnstat) +endef + ### Server Gateway Interfaces ### @@ -1215,6 +1226,9 @@ endif ifneq ($(CONFIG_PACKAGE_luci-app-wol),) PKG_SELECTED_MODULES+=applications/luci-wol endif +ifneq ($(CONFIG_PACKAGE_luci-app-vnstat),) + PKG_SELECTED_MODULES+=applications/luci-vnstat +endif ifneq ($(CONFIG_PACKAGE_luci-sgi-cgi),) @@ -1351,6 +1365,7 @@ $(eval $(call BuildPackage,luci-app-openvpn)) $(eval $(call BuildPackage,luci-app-p2pblock)) $(eval $(call BuildPackage,luci-app-multiwan)) $(eval $(call BuildPackage,luci-app-wol)) +$(eval $(call BuildPackage,luci-app-vnstat)) $(eval $(call BuildPackage,luci-sgi-cgi)) $(eval $(call BuildPackage,luci-sgi-uhttpd)) -- cgit v1.2.3