From: Kevin Darbyshire-Bryant Date: Mon, 14 Aug 2017 10:43:10 +0000 (+0100) Subject: nlbwmon: preserve protocols mapping across sysupgrade X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=2305de5f2e529bb7591f5aac31557aff80ef39c4;p=openwrt-packages.git nlbwmon: preserve protocols mapping across sysupgrade Define package config files to preserve /usr/share/nlbwmon/protocols across sysupgrade Signed-off-by: Kevin Darbyshire-Bryant --- diff --git a/net/nlbwmon/Makefile b/net/nlbwmon/Makefile index 009592ef8..9aa83d155 100644 --- a/net/nlbwmon/Makefile +++ b/net/nlbwmon/Makefile @@ -1,7 +1,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=nlbwmon -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE_PROTO:=git PKG_SOURCE_URL:=https://github.com/jow-/nlbwmon.git @@ -39,4 +39,9 @@ define Package/nlbwmon/install $(INSTALL_CONF) ./files/nlbwmon.config $(1)/etc/config/nlbwmon endef +define Package/nlbwmon/conffiles +/usr/share/nlbwmon/protocols +endef + + $(eval $(call BuildPackage,nlbwmon))