mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-11-01 13:53:56 +08:00
🍕 Sync 2026-09-14 23:30:37
This commit is contained in:
1 parent
0603b094cf
commit
81fe4cd866
214 files changed
+10806
-2630
No files matched your search
@@ -362,7 +362,9 @@ function refreshWirelessState() {
|
||||
|
||||
const wifiDevices = uci.sections('wireless', 'wifi-device');
|
||||
const configOnly = wifiDevices.length > 0 && wifiDevices.every(function(device) {
|
||||
return (device.type == 'mt_dbdc' || device.type == 'qcawifi' || device.type == 'qcawificfg80211');
|
||||
// Legacy MT7615 DBDC uses ra0/rax0 radio sections; MT798x uses ra/rax.
|
||||
return ((device.type == 'mt_dbdc' && /^ra[xiyez]?0$/.test(device['.name'])) ||
|
||||
device.type == 'qcawifi' || device.type == 'qcawificfg80211');
|
||||
});
|
||||
|
||||
if (configOnly)
|
||||
@@ -408,7 +410,9 @@ function refreshWirelessState() {
|
||||
function waitForWirelessState() {
|
||||
const wifiDevices = uci.sections('wireless', 'wifi-device');
|
||||
const hasConfigOnlyWifi = wifiDevices.some(function(device) {
|
||||
return (device.type == 'mt_dbdc' || device.type == 'qcawifi' || device.type == 'qcawificfg80211');
|
||||
// Legacy MT7615 DBDC uses ra0/rax0 radio sections; MT798x uses ra/rax.
|
||||
return ((device.type == 'mt_dbdc' && /^ra[xiyez]?0$/.test(device['.name'])) ||
|
||||
device.type == 'qcawifi' || device.type == 'qcawificfg80211');
|
||||
});
|
||||
const refresh = refreshWirelessState();
|
||||
|
||||
|
||||
@@ -9214,6 +9214,14 @@ msgctxt "nft redirect"
|
||||
msgid "Redirect to local system"
|
||||
msgstr ""
|
||||
|
||||
#: modules/luci-mod-system/htdocs/luci-static/resources/view/system/system.js
|
||||
msgid "Redirect LAN NTP requests to this device."
|
||||
msgstr ""
|
||||
|
||||
#: modules/luci-mod-system/htdocs/luci-static/resources/view/system/system.js
|
||||
msgid "Redirect NTP requests"
|
||||
msgstr ""
|
||||
|
||||
#: modules/luci-mod-status/htdocs/luci-static/resources/view/status/iptables.js:57
|
||||
msgid "References"
|
||||
msgstr ""
|
||||
@@ -13671,3 +13679,24 @@ msgstr ""
|
||||
#: modules/luci-compat/luasrc/view/cbi/delegator.htm:20
|
||||
msgid "« Back"
|
||||
msgstr ""
|
||||
|
||||
#: modules/luci-mod-status/htdocs/luci-static/resources/view/status/include/30_network.js
|
||||
msgid "Total download bandwidth"
|
||||
msgstr ""
|
||||
|
||||
#: modules/luci-mod-status/htdocs/luci-static/resources/view/status/include/30_network.js
|
||||
msgid "Total upload bandwidth"
|
||||
msgstr ""
|
||||
|
||||
#: modules/luci-mod-status/htdocs/luci-static/resources/view/status/include/40_dhcp.js
|
||||
msgid "Total traffic"
|
||||
msgstr ""
|
||||
|
||||
msgid "Online"
|
||||
msgstr ""
|
||||
|
||||
msgid "Offline"
|
||||
msgstr ""
|
||||
|
||||
msgid "Online Hosts"
|
||||
msgstr ""
|
||||
@@ -9484,6 +9484,14 @@ msgctxt "nft redirect"
|
||||
msgid "Redirect to local system"
|
||||
msgstr "重定向到本地系统"
|
||||
|
||||
#: modules/luci-mod-system/htdocs/luci-static/resources/view/system/system.js
|
||||
msgid "Redirect LAN NTP requests to this device."
|
||||
msgstr "将局域网 NTP 请求重定向到本机。"
|
||||
|
||||
#: modules/luci-mod-system/htdocs/luci-static/resources/view/system/system.js
|
||||
msgid "Redirect NTP requests"
|
||||
msgstr "重定向局域网 NTP 请求"
|
||||
|
||||
#: modules/luci-mod-status/htdocs/luci-static/resources/view/status/iptables.js:57
|
||||
msgid "References"
|
||||
msgstr "引用"
|
||||
@@ -14138,3 +14146,24 @@ msgstr "移远蜂窝网络"
|
||||
|
||||
msgid "Temperature"
|
||||
msgstr "温度"
|
||||
|
||||
#: modules/luci-mod-status/htdocs/luci-static/resources/view/status/include/30_network.js
|
||||
msgid "Total download bandwidth"
|
||||
msgstr "下载总带宽"
|
||||
|
||||
#: modules/luci-mod-status/htdocs/luci-static/resources/view/status/include/30_network.js
|
||||
msgid "Total upload bandwidth"
|
||||
msgstr "上传总带宽"
|
||||
|
||||
#: modules/luci-mod-status/htdocs/luci-static/resources/view/status/include/40_dhcp.js
|
||||
msgid "Total traffic"
|
||||
msgstr "总流量"
|
||||
|
||||
msgid "Online"
|
||||
msgstr "在线"
|
||||
|
||||
msgid "Offline"
|
||||
msgstr "离线"
|
||||
|
||||
msgid "Online Hosts"
|
||||
msgstr "在线主机"
|
||||
@@ -9393,6 +9393,14 @@ msgctxt "nft redirect"
|
||||
msgid "Redirect to local system"
|
||||
msgstr "重新導向至本地系統"
|
||||
|
||||
#: modules/luci-mod-system/htdocs/luci-static/resources/view/system/system.js
|
||||
msgid "Redirect LAN NTP requests to this device."
|
||||
msgstr "將區域網路 NTP 請求重新導向至本機。"
|
||||
|
||||
#: modules/luci-mod-system/htdocs/luci-static/resources/view/system/system.js
|
||||
msgid "Redirect NTP requests"
|
||||
msgstr "重新導向區域網路 NTP 請求"
|
||||
|
||||
#: modules/luci-mod-status/htdocs/luci-static/resources/view/status/iptables.js:57
|
||||
msgid "References"
|
||||
msgstr "引用"
|
||||
@@ -13993,3 +14001,24 @@ msgstr "{example_nx} 返回 {nxdomain}。"
|
||||
#: modules/luci-compat/luasrc/view/cbi/delegator.htm:20
|
||||
msgid "« Back"
|
||||
msgstr "« 返回"
|
||||
|
||||
#: modules/luci-mod-status/htdocs/luci-static/resources/view/status/include/30_network.js
|
||||
msgid "Total download bandwidth"
|
||||
msgstr "下載總頻寬"
|
||||
|
||||
#: modules/luci-mod-status/htdocs/luci-static/resources/view/status/include/30_network.js
|
||||
msgid "Total upload bandwidth"
|
||||
msgstr "上傳總頻寬"
|
||||
|
||||
#: modules/luci-mod-status/htdocs/luci-static/resources/view/status/include/40_dhcp.js
|
||||
msgid "Total traffic"
|
||||
msgstr "總流量"
|
||||
|
||||
msgid "Online"
|
||||
msgstr "在線"
|
||||
|
||||
msgid "Offline"
|
||||
msgstr "離線"
|
||||
|
||||
msgid "Online Hosts"
|
||||
msgstr "在線主機"
|
||||
@@ -260,6 +260,7 @@ const methods = {
|
||||
apk: access('/usr/bin/apk') == true,
|
||||
wifi: access('/sbin/wifi') == true,
|
||||
ufpd: access('/usr/sbin/ufpd') == true,
|
||||
oui: access('/www/luci-static/resources/oui/oui.js') == true,
|
||||
vrf: access('/sys/module/vrf/refcnt') == true, // vrf.ko is loaded
|
||||
netifd_vrf: false,
|
||||
mptcp: access('/proc/sys/net/mptcp/enabled'),
|
||||
@@ -298,7 +299,7 @@ const methods = {
|
||||
let fd = popen('dnsmasq --version 2>/dev/null');
|
||||
|
||||
if (fd) {
|
||||
const m = match(fd.read('all'), /^Compile time options: (.+)$/s);
|
||||
const m = match(fd.read('all'), /Compile time options: ([^\n]+)/);
|
||||
|
||||
for (let opt in split(m?.[1], ' ')) {
|
||||
let f = replace(opt, 'no-', '', 1);
|
||||
|
||||
Reference in new issue
Block a user