nlbwmon: preserve protocols mapping across sysupgrade

Define package config files to preserve
/usr/share/nlbwmon/protocols across sysupgrade

Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
(cherry picked from commit 2305de5f2e)
This commit is contained in:
Kevin Darbyshire-Bryant 2017-08-14 11:43:10 +01:00 committed by Jo-Philipp Wich
parent dfe32c8a43
commit 76ad27dfce
1 changed files with 6 additions and 1 deletions

View File

@ -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))