🏅 Sync 2026-10-10 12:03:15

This commit is contained in:
github-actions[bot] committed 2026-10-10 12:03:15 +08:00
1 parent ad68a3cd65
commit f080de4b89
109 files changed
+72311 -621

No files matched your search

+1 -1
View File
@@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=luci-app-cpu-perf
PKG_VERSION:=0.6.2
PKG_RELEASE:=3
PKG_RELEASE:=4
LUCI_TITLE:=CPU performance information and management for LuCI
LUCI_DEPENDS:=+ucode +ucode-mod-fs
LUCI_PKGARCH:=all
+12 -12
View File
@@ -9,31 +9,31 @@ OpenWrt >= 22.03.
**OpenWrt >= 25.12:**
wget --no-check-certificate -O /tmp/luci-app-cpu-perf-0.6.2-r1.apk https://github.com/gSpotx2f/packages-openwrt/raw/master/25.12/luci-app-cpu-perf-0.6.2-r1.apk
apk --allow-untrusted add /tmp/luci-app-cpu-perf-0.6.2-r1.apk
rm /tmp/luci-app-cpu-perf-0.6.2-r1.apk
wget --no-check-certificate -O /tmp/luci-app-cpu-perf-0.6.2-r2.apk https://github.com/gSpotx2f/packages-openwrt/raw/master/25.12/luci-app-cpu-perf-0.6.2-r2.apk
apk --allow-untrusted add /tmp/luci-app-cpu-perf-0.6.2-r2.apk
rm /tmp/luci-app-cpu-perf-0.6.2-r2.apk
service rpcd restart
service cpu-perf start
i18n-ru:
wget --no-check-certificate -O /tmp/luci-i18n-cpu-perf-ru-0.6.2-r1.apk https://github.com/gSpotx2f/packages-openwrt/raw/master/25.12/luci-i18n-cpu-perf-ru-0.6.2-r1.apk
apk --allow-untrusted add /tmp/luci-i18n-cpu-perf-ru-0.6.2-r1.apk
rm /tmp/luci-i18n-cpu-perf-ru-0.6.2-r1.apk
wget --no-check-certificate -O /tmp/luci-i18n-cpu-perf-ru-0.6.2-r2.apk https://github.com/gSpotx2f/packages-openwrt/raw/master/25.12/luci-i18n-cpu-perf-ru-0.6.2-r2.apk
apk --allow-untrusted add /tmp/luci-i18n-cpu-perf-ru-0.6.2-r2.apk
rm /tmp/luci-i18n-cpu-perf-ru-0.6.2-r2.apk
**OpenWrt <= 24.10:**
wget --no-check-certificate -O /tmp/luci-app-cpu-perf_0.6.2-r1_all.ipk https://github.com/gSpotx2f/packages-openwrt/raw/master/24.10/luci-app-cpu-perf_0.6.2-r1_all.ipk
opkg install /tmp/luci-app-cpu-perf_0.6.2-r1_all.ipk
rm /tmp/luci-app-cpu-perf_0.6.2-r1_all.ipk
wget --no-check-certificate -O /tmp/luci-app-cpu-perf_0.6.2-r2_all.ipk https://github.com/gSpotx2f/packages-openwrt/raw/master/24.10/luci-app-cpu-perf_0.6.2-r2_all.ipk
opkg install /tmp/luci-app-cpu-perf_0.6.2-r2_all.ipk
rm /tmp/luci-app-cpu-perf_0.6.2-r2_all.ipk
service rpcd restart
service cpu-perf start
i18n-ru:
wget --no-check-certificate -O /tmp/luci-i18n-cpu-perf-ru_0.6.2-r1_all.ipk https://github.com/gSpotx2f/packages-openwrt/raw/master/24.10/luci-i18n-cpu-perf-ru_0.6.2-r1_all.ipk
opkg install /tmp/luci-i18n-cpu-perf-ru_0.6.2-r1_all.ipk
rm /tmp/luci-i18n-cpu-perf-ru_0.6.2-r1_all.ipk
wget --no-check-certificate -O /tmp/luci-i18n-cpu-perf-ru_0.6.2-r2_all.ipk https://github.com/gSpotx2f/packages-openwrt/raw/master/24.10/luci-i18n-cpu-perf-ru_0.6.2-r2_all.ipk
opkg install /tmp/luci-i18n-cpu-perf-ru_0.6.2-r2_all.ipk
rm /tmp/luci-i18n-cpu-perf-ru_0.6.2-r2_all.ipk
## Screenshots:
@@ -42,7 +42,9 @@ return view.extend({
}
}).catch(e => {
ui.addNotification(null,
E('p', _('Failed to get %s init status: %s').format(this.appName, e)));
E('p', _('Failed to get %s init status: %s').format(this.appName, e)),
'warning'
);
});
},
@@ -54,7 +56,9 @@ return view.extend({
return true;
}).catch(e => {
ui.addNotification(null,
E('p', _('Service action failed "%s %s": %s').format(this.appName, action, e)));
E('p', _('Service action failed "%s %s": %s').format(this.appName, action, e)),
'warning'
);
});
},
@@ -390,7 +394,10 @@ return view.extend({
this.callCpuPerf(),
uci.load(this.appName),
]).catch(e => {
ui.addNotification(null, E('p', _('An error has occurred') + ': %s'.format(e.message)));
ui.addNotification(null,
E('p', _('An error has occurred') + ': %s'.format(e.message)),
'warning'
);
});
},