update 2025-03-31 20:42:46

This commit is contained in:
kenzok8 2025-03-31 20:42:46 +08:00
parent 444419df96
commit 70c007609a
5 changed files with 11 additions and 6 deletions

View File

@ -9,7 +9,7 @@ LUCI_TITLE:=LuCI support for quickstart
LUCI_DEPENDS:=+quickstart +luci-app-store
LUCI_PKGARCH:=all
PKG_VERSION:=0.8.16-1
PKG_VERSION:=0.8.17-1
# PKG_RELEASE MUST be empty for luci.mk
PKG_RELEASE:=

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,6 +1,7 @@
<%+header%>
<%
local jsonc = require "luci.jsonc"
local uci = require "luci.model.uci".cursor()
local features = { "_lua_force_array_" }
local configs = {}
if luci.sys.call("which ota >/dev/null 2>&1 && ota >/dev/null 2>&1") == 0 then
@ -17,7 +18,6 @@
end
if luci.sys.call("/etc/init.d/ttyd running >/dev/null 2>&1") == 0 then
features[#features+1] = "ttyd"
local uci = require "luci.model.uci".cursor()
local port = uci:get_first("ttyd", "ttyd", "port") or "7681"
local ssl = uci:get_first("ttyd", "ttyd", "ssl") or "0"
configs["ttyd"] = {
@ -25,6 +25,11 @@
ssl = ssl == "1"
}
end
if uci:get("quickstart", "main", "disable_update_check") == "1" then
configs["update"] = {
disable = true
}
end
-%>
<script>
(function(){