fix(otg): 适配 OpenWrt netifd 网络桥接与事务恢复

This commit is contained in:
mofeng-git
2026-10-13 22:15:14 +08:00
parent 2b53c2982b
commit d7239ba15c
5 changed files with 1071 additions and 11 deletions

View File

@@ -570,6 +570,8 @@ pub fn run(config: &crate::config::AppConfig) -> OtgSelfCheckResponse {
})
.is_some_and(|name| {
name == "okvm-br0" || name == config.otg_network.bridge_interface
|| (config.otg_network.bridge_interface.is_empty()
&& std::path::Path::new("/sys/class/net").join(name).join("bridge").is_dir())
});
push_otg_check(
&mut checks,