From a0d01fd5ebf57d7d30eb08c5679cf89cd44be3a0 Mon Sep 17 00:00:00 2001 From: kiddin9 <48883331+kiddin9@users.noreply.github.com> Date: Fri, 12 Jun 2026 04:31:25 +0800 Subject: [PATCH] Update luci-mod-status.patch --- .github/diy/patches/luci-mod-status.patch | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/.github/diy/patches/luci-mod-status.patch b/.github/diy/patches/luci-mod-status.patch index 7baf3bcf..d5cd6872 100644 --- a/.github/diy/patches/luci-mod-status.patch +++ b/.github/diy/patches/luci-mod-status.patch @@ -63,7 +63,7 @@ luciversion = data[5], unixtime = data[6]; -@@ -78,8 +78,7 @@ return baseclass.extend({ +@@ -78,15 +78,9 @@ return baseclass.extend({ var fields = [ _('Hostname'), boardinfo.hostname, @@ -71,9 +71,17 @@ - _('Architecture'), cpuinfo.cpuinfo || boardinfo.system, + _('Architecture'), (cpuinfo.cpuinfo || boardinfo.system) + ' ' + cpubench.cpubench, _('Target Platform'), (L.isObject(boardinfo.release) ? boardinfo.release.target : ''), - _('Firmware Version'), (L.isObject(boardinfo.release) - ? '%s%s / '.format( -@@ -94,10 +93,18 @@ return baseclass.extend({ +- _('Firmware Version'), (L.isObject(boardinfo.release) +- ? '%s%s / '.format( +- boardinfo.release.description || '', +- boardinfo.release.revision ? boardinfo.release.revision : '' +- ) +- : '') + (luciversion || ''), ++ _('Firmware Version'), (L.isObject(boardinfo.release) ? boardinfo.release.description + ' / ' : '') + (luciversion || ''), + _('Kernel Version'), boardinfo.kernel, + _('Local Time'), datestr, + _('Uptime'), systeminfo.uptime ? '%t'.format(systeminfo.uptime) : null, +@@ -94,10 +88,18 @@ return baseclass.extend({ systeminfo.load[0] / 65535.0, systeminfo.load[1] / 65535.0, systeminfo.load[2] / 65535.0