protocols/6x4: fix install state detection with netifd
This commit is contained in:
parent
3ddb0b5ba7
commit
cf8b8f8749
1 changed files with 2 additions and 1 deletions
|
@ -41,7 +41,8 @@ for _, p in ipairs({"6in4", "6to4"}) do
|
||||||
end
|
end
|
||||||
|
|
||||||
function proto.is_installed(self)
|
function proto.is_installed(self)
|
||||||
return nixio.fs.access("/lib/network/" .. p .. ".sh")
|
return nixio.fs.access("/lib/network/" .. p .. ".sh") or
|
||||||
|
nixio.fs.access("/lib/netifd/proto/" .. p .. ".sh")
|
||||||
end
|
end
|
||||||
|
|
||||||
function proto.is_floating(self)
|
function proto.is_floating(self)
|
||||||
|
|
Loading…
Reference in a new issue