mirror of
https://github.com/EasyTier/luci-app-easytier.git
synced 2025-05-19 10:29:25 +00:00
修复config.toml文件不能随备份与升级一起保存的问题
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_VERSION:=2.2.4
|
||||
PKG_RELEASE:=2
|
||||
PKG_RELEASE:=3
|
||||
|
||||
LUCI_TITLE:=LuCI support for EasyTier
|
||||
LUCI_DEPENDS:=+kmod-tun
|
||||
@@ -15,6 +15,11 @@ LUCI_PKGARCH:=all
|
||||
|
||||
PKG_NAME:=luci-app-easytier
|
||||
|
||||
define Package/$(PKG_NAME)/conffiles
|
||||
# /etc/config/easytier
|
||||
/etc/easytier/config.toml
|
||||
endef
|
||||
|
||||
define Package/$(PKG_NAME)/prerm
|
||||
#!/bin/sh
|
||||
if [ -f /etc/config/easytier ] ; then
|
||||
|
||||
Reference in New Issue
Block a user