mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-10-30 02:55:13 +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
@@ -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