💋 Sync 2026-10-13 02:42:32

This commit is contained in:
github-actions[bot] committed 2026-10-13 02:42:32 +08:00
1 parent 72c44a6325
commit b5b97f0992
2 files changed
+2 -3

No files matched your search

+1 -1
View File
@@ -10,7 +10,7 @@ include $(INCLUDE_DIR)/kernel.mk
PKG_NAME:=my-default-settings
PKG_VERSION:=2
PKG_RELEASE:=36
PKG_RELEASE:=37
include $(INCLUDE_DIR)/package.mk
@@ -8,8 +8,7 @@ sed -i -e '/profile.d/d' /lib/upgrade/keep.d/base-files \
-e 's/git-.*-\(.*\)/git-\1/g' /usr/lib/lua/luci/version.lua 2>/dev/null
# 2. 版本与环境参数提取
version=$(uci -q get system.@status[0].version)
case "$version" in ''|*[!0-9]*) version=0 ;; esac
version=$(uci -q get system.@status[0].version || uci -q get base_config.@status[0].version || echo '0')
for ip in $(uci -q get network.lan.ipaddr); do
case "$ip" in *.*) lan_ip="${ip%%/*}"; break ;; esac