mirror of
https://github.com/kenzok8/small-package
synced 2025-01-07 07:06:58 +08:00
update 2024-04-09 20:31:33
This commit is contained in:
parent
e34f959e40
commit
fd4d758437
@ -7,8 +7,8 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=luci-app-ddns-go
|
||||
PKG_VERSION:=1.4.2
|
||||
PKG_RELEASE:=20240227
|
||||
PKG_VERSION:=1.4.5
|
||||
PKG_RELEASE:=20240409
|
||||
|
||||
LUCI_TITLE:=LuCI Support for Dynamic ddns-go Client
|
||||
LUCI_DEPENDS:=+ddns-go
|
||||
|
@ -28,16 +28,22 @@ o.default=5
|
||||
o = s:option(Flag,"skipverify",translate("Skip verifying certificates"))
|
||||
o.default = 0
|
||||
|
||||
o = s:option(ListValue, "dns",translate("Specify DNS resolution server"))
|
||||
o = s:option(Value, "dns",translate("Specify DNS resolution server"))
|
||||
o:value("223.5.5.5", ""..translate("Ali").." DNS (223.5.5.5)")
|
||||
o:value("223.6.6.6", ""..translate("Ali").." DNS (223.6.6.6)")
|
||||
o:value("119.29.29.29", ""..translate("Tencent").." DNS (119.29.29.29)")
|
||||
o:value("1.1.1.1", translate("CloudFlare DNS(1.1.1.1)"))
|
||||
o:value("8.8.4.4", ""..translate("Google").." DNS(8.8.4.4)")
|
||||
o:value("8.8.8.8", ""..translate("Google").." DNS(8.8.8.8)")
|
||||
o.default = "223.5.5.5"
|
||||
|
||||
o = s:option(Flag,"noweb",translate("Do not start web services"))
|
||||
o.default = 0
|
||||
|
||||
o = s:option(Value, "delay", translate("Delayed Start (seconds)"))
|
||||
o.datatype = "and(uinteger,min(0))"
|
||||
o.default = "60"
|
||||
|
||||
m.apply_on_parse = true
|
||||
m.on_after_apply = function(self,map)
|
||||
luci.sys.exec("/etc/init.d/ddns-go restart")
|
||||
|
@ -55,3 +55,5 @@ msgstr "指定DNS解析服务器"
|
||||
msgid "Do not start web services"
|
||||
msgstr "不启动web服务"
|
||||
|
||||
msgid "Delayed Start (seconds)"
|
||||
msgstr "开机延时启动(秒)"
|
||||
|
@ -55,3 +55,5 @@ msgstr "指定DNS解析服务器"
|
||||
msgid "Do not start web services"
|
||||
msgstr "不启动web服务"
|
||||
|
||||
msgid "Delayed Start (seconds)"
|
||||
msgstr "开机延时启动(秒)"
|
||||
|
Loading…
Reference in New Issue
Block a user