update 2026-09-23 06:38:58
No files matched your search
|
After Width: | Height: | Size: 91 KiB |
|
After Width: | Height: | Size: 319 KiB |
|
After Width: | Height: | Size: 389 KiB |
|
Before Width: | Height: | Size: 640 KiB |
|
Before Width: | Height: | Size: 550 KiB |
|
Before Width: | Height: | Size: 547 KiB |
|
Before Width: | Height: | Size: 659 KiB |
|
Before Width: | Height: | Size: 650 KiB |
@@ -14,6 +14,17 @@ function index()
|
||||
end
|
||||
end
|
||||
|
||||
local function check_wifi()
|
||||
local has_wifi = false
|
||||
pcall(function()
|
||||
uci:foreach("wireless", "wifi-device", function(s)
|
||||
has_wifi = true
|
||||
return false -- 检测到任意 wifi-device 即终止遍历
|
||||
end)
|
||||
end)
|
||||
return has_wifi
|
||||
end
|
||||
|
||||
function landing_page()
|
||||
local landing_page = uci:get("wizard", "default", "landing_page")
|
||||
if (luci.sys.call("pgrep routergo >/dev/null") == 0 and landing_page == "routerdog") then
|
||||
@@ -29,7 +40,13 @@ function landing_page()
|
||||
http.redirect(luci.dispatcher.build_url("admin","quickstart"));
|
||||
end
|
||||
else
|
||||
http.redirect(luci.dispatcher.build_url("admin","status","dashboard"))
|
||||
if check_wifi() then
|
||||
-- 具备无线功能,跳转至常用无线仪表盘界面
|
||||
http.redirect(luci.dispatcher.build_url("admin","status","dashboard"))
|
||||
else
|
||||
-- 无无线设备(纯有线环境),跳转至原生状态概览
|
||||
http.redirect(luci.dispatcher.build_url("admin", "status", "overview"))
|
||||
end
|
||||
end
|
||||
|
||||
end
|
||||
@@ -5,12 +5,12 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=v2ray-core
|
||||
PKG_VERSION:=5.54.1
|
||||
PKG_VERSION:=5.54.2
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=https://codeload.github.com/v2fly/v2ray-core/tar.gz/v$(PKG_VERSION)?
|
||||
PKG_HASH:=1dcaa05763a7769c1b120f730430f00ca6e014ae6ea60e6afd3241f1109afbed
|
||||
PKG_HASH:=fd171b094376701aa07f1bb4ab9bf4dc67bd4df014673ec545ad362360341364
|
||||
|
||||
PKG_LICENSE:=MIT
|
||||
PKG_LICENSE_FILES:=LICENSE
|
||||
|
||||
@@ -21,13 +21,13 @@ define Download/geoip
|
||||
HASH:=1cba1f0982cf62502fa079c66047c3d0c608196da5b3305671e68f60e917a482
|
||||
endef
|
||||
|
||||
GEOSITE_VER:=20260922023940
|
||||
GEOSITE_VER:=20260922112956
|
||||
GEOSITE_FILE:=dlc.dat.$(GEOSITE_VER)
|
||||
define Download/geosite
|
||||
URL:=https://github.com/v2fly/domain-list-community/releases/download/$(GEOSITE_VER)/
|
||||
URL_FILE:=dlc.dat
|
||||
FILE:=$(GEOSITE_FILE)
|
||||
HASH:=df277aa430bb3d67d5d7c960dd6816e4c271616000a7900486b903091d39b393
|
||||
HASH:=ccfd5caee2947964da989f6b94cc3c96f068cba198b163f3ac64def70a0addb5
|
||||
endef
|
||||
|
||||
GEOSITE_IRAN_VER:=202609210145
|
||||
|
||||