nextdns: mark /etc/config/nextdns as configuration file
Conffile was set for OpenWrt master, but it is not present in OpenWrt 19.07. When /etc/config/nextdns is not set as conffile, it gets overwritten by each update of nextdns and the user needs to set up it again. This can be simply reproduced by these steps: opkg update opkg install nextdns edit or add smth to /etc/config/nextdns, save it then do: opkg install nextdns --force-reinstall And /etc/config/nextdns gets overwritten by default values Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
This commit is contained in:
parent
418e3b2948
commit
35e6986a09
1 changed files with 5 additions and 1 deletions
|
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
|||
|
||||
PKG_NAME:=nextdns
|
||||
PKG_VERSION:=1.8.5
|
||||
PKG_RELEASE:=1
|
||||
PKG_RELEASE:=2
|
||||
|
||||
PKG_SOURCE_PROTO:=git
|
||||
PKG_SOURCE_VERSION:=v$(PKG_VERSION)
|
||||
|
@ -39,6 +39,10 @@ define Package/nextdns
|
|||
DEPENDS:=$(GO_ARCH_DEPENDS) +ca-bundle
|
||||
endef
|
||||
|
||||
define Package/nextdns/conffiles
|
||||
/etc/config/nextdns
|
||||
endef
|
||||
|
||||
define Package/nextdns/install
|
||||
$(call GoPackage/Package/Install/Bin,$(PKG_INSTALL_DIR))
|
||||
|
||||
|
|
Loading…
Reference in a new issue