uugamebooster: keep config when upgrade

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
This commit is contained in:
Tianling Shen 2021-04-04 20:38:52 +08:00
parent ca20e8d945
commit 8abeb621e9
No known key found for this signature in database
GPG Key ID: 6850B6345C862176

View File

@ -69,6 +69,10 @@ endef
define Build/Compile
endef
define Package/$(PKG_NAME)/conffiles
/usr/share/$(PKG_NAME)/uu.conf
endef
define Package/$(PKG_NAME)/install
$(INSTALL_DIR) $(1)/etc/init.d
$(INSTALL_BIN) ./files/uugamebooster.init $(1)/etc/init.d/uugamebooster