proto: fix feature detection of installed protocol handlers
[project/luci.git] / protocols / 6x4 / luasrc / model / network / proto_6x4.lua
index b9fbf64ec8bafe051ce91d1340f3162f8523c7f2..63735f6f8e9ef923020779ce6683c4c2bc8ca64a 100644 (file)
@@ -41,8 +41,7 @@ for _, p in ipairs({"6in4", "6to4"}) do
        end
 
        function proto.is_installed(self)
-               return nixio.fs.access("/lib/network/" .. p .. ".sh") or
-                       nixio.fs.access("/lib/netifd/proto/" .. p .. ".sh")
+               return nixio.fs.access("/lib/netifd/proto/" .. p .. ".sh")
        end
 
        function proto.is_floating(self)