protocols/6x4: fix install state detection with netifd

This commit is contained in:
Jo-Philipp Wich 2012-04-27 18:10:40 +00:00
parent 3ddb0b5ba7
commit cf8b8f8749

View file

@ -41,7 +41,8 @@ for _, p in ipairs({"6in4", "6to4"}) do
end
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
function proto.is_floating(self)