mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-11-16 21:43:33 +08:00
🐤 Sync 2026-10-27 12:12:04
This commit is contained in:
1 parent
8b63d5d4a9
commit
e646593c56
30 files changed
+1281
-416
No files matched your search
@@ -19,6 +19,10 @@ function shellquote(s) {
|
||||
}
|
||||
|
||||
function has_supported_hw_offloading_target(target) {
|
||||
if (target == 'ipq40xx/generic')
|
||||
return access('/sys/module/qca_ssdk') == true &&
|
||||
access('/sys/module/essedma') == true;
|
||||
|
||||
return type(target) == 'string' &&
|
||||
match(target, /^(ramips\/mt7621|mediatek\/mt76..|mediatek\/filogic|airoha\/an758[0-9])$/) != null;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user