luci-app-233ddns: bump to v1.0-3
This commit is contained in:
parent
33467e9ac7
commit
008085f550
@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=luci-app-233ddns
|
||||
PKG_VERSION:=1.0
|
||||
PKG_RELEASE:=2
|
||||
PKG_RELEASE:=3
|
||||
LUCI_TITLE:=LuCI support for 233DDNS
|
||||
LUCI_DEPENDS:=+wget
|
||||
LUCI_PKGARCH:=all
|
||||
|
||||
@ -7,7 +7,7 @@ if (conf_token == nil or conf_token == '') then
|
||||
end
|
||||
|
||||
mp = Map("233ddns", translate("233DDNS"))
|
||||
mp.description = translate("A simple, fast, security DDNS client, powered by Oxygen233.") .. "<br/>" .. translate("Instructions for use:") .." https://233.ro/archives/233DDNS.html<br/>" .. translate("Please add u.233.ro to your whitelist if you use proxy programs.")
|
||||
mp.description = translate("A simple, fast, security DDNS client, powered by Oxygen233.") .. "<br/>" .. translate("Instructions for use:") .." https://233.ro/archives/233DDNS.html<br/>" .. translate("Please add 233ddns.ro to your whitelist if you use proxy programs.")
|
||||
|
||||
mp:section(SimpleSection).template = "233ddns/233ddns_status"
|
||||
|
||||
|
||||
@ -7,8 +7,8 @@ msgstr "由 Oxygen233 驱动的一个简单、快速、安全的 DDNS 客户端
|
||||
msgid "Instructions for use:"
|
||||
msgstr "使用说明:"
|
||||
|
||||
msgid "Please add u.233.ro to your whitelist if you use proxy programs."
|
||||
msgstr "如果您使用了代理程序,请将 u.233.ro 添加至白名单。"
|
||||
msgid "Please add 233ddns.ro to your whitelist if you use proxy programs."
|
||||
msgstr "如果您使用了代理程序,请将 233ddns.ro 添加至白名单。"
|
||||
|
||||
msgid "Enable"
|
||||
msgstr "启用"
|
||||
|
||||
@ -13,13 +13,13 @@ start()
|
||||
stop
|
||||
|
||||
[ "${enable}" -ne "1" ] && exit 0
|
||||
wget -4qO- --header="Cookie: a=a" "https://u.233.ro/u/${token}"
|
||||
echo "* * * * * wget -4qO- --header=\"Cookie: a=a\" \"https://u.233.ro/u/${token}\"" >> "/etc/crontabs/root"
|
||||
wget -4qO- --header="Cookie: a=a" "https://233ddns.ro/u/${token}"
|
||||
echo "* * * * * wget -4qO- --header=\"Cookie: a=a\" \"https://233ddns.ro/u/${token}\"" >> "/etc/crontabs/root"
|
||||
/etc/init.d/cron restart
|
||||
}
|
||||
|
||||
stop()
|
||||
{
|
||||
sed -i '/u.233.ro/d' "/etc/crontabs/root"
|
||||
sed -i '/233ddns.ro/d' "/etc/crontabs/root"
|
||||
/etc/init.d/cron restart
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user