mirror of
https://github.com/hanwckf/immortalwrt-mt798x.git
synced 2025-01-09 02:43:53 +08:00
wifi-profile: fix d8021xd_chk
This commit is contained in:
parent
1141dc8951
commit
2073b2ad6f
@ -67,6 +67,7 @@ function del_vif_from_lan(vif)
|
||||
end
|
||||
|
||||
function d8021xd_chk(devname, prefix, vif, enable)
|
||||
local mtkwifi = require("mtkwifi")
|
||||
if mtkwifi.exists("/tmp/run/8021xd_"..vif..".pid") then
|
||||
os.execute("cat /tmp/run/8021xd_"..vif..".pid | xargs kill -9")
|
||||
os.execute("rm /tmp/run/8021xd_"..vif..".pid")
|
||||
|
Loading…
x
Reference in New Issue
Block a user