nlbwmon: preserve protocols mapping across sysupgrade 4709/head
authorKevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
Mon, 14 Aug 2017 10:43:10 +0000 (11:43 +0100)
committerKevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
Mon, 14 Aug 2017 10:51:10 +0000 (11:51 +0100)
Define package config files to preserve
/usr/share/nlbwmon/protocols across sysupgrade

Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
net/nlbwmon/Makefile

index 009592ef8e7c0fc07931d0f19a9671c15fc97393..9aa83d155fe3fdec858448a63e5ecaf13d3c36ce 100644 (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))