projects
/
oweals
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ddb0b5
)
protocols/6x4: fix install state detection with netifd
author
Jo-Philipp Wich
<jow@openwrt.org>
Fri, 27 Apr 2012 18:10:40 +0000
(18:10 +0000)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Fri, 27 Apr 2012 18:10:40 +0000
(18:10 +0000)
protocols/6x4/luasrc/model/network/proto_6x4.lua
patch
|
blob
|
history
diff --git
a/protocols/6x4/luasrc/model/network/proto_6x4.lua
b/protocols/6x4/luasrc/model/network/proto_6x4.lua
index d4d72c82820e7e4107a8857b8ea343d2ad14e771..b9fbf64ec8bafe051ce91d1340f3162f8523c7f2 100644
(file)
--- a/
protocols/6x4/luasrc/model/network/proto_6x4.lua
+++ b/
protocols/6x4/luasrc/model/network/proto_6x4.lua
@@
-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)