summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-olsr/luasrc/model/cbi/olsr/olsrdplugins6.lua
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-app-olsr/luasrc/model/cbi/olsr/olsrdplugins6.lua')
-rw-r--r--applications/luci-app-olsr/luasrc/model/cbi/olsr/olsrdplugins6.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/applications/luci-app-olsr/luasrc/model/cbi/olsr/olsrdplugins6.lua b/applications/luci-app-olsr/luasrc/model/cbi/olsr/olsrdplugins6.lua
index 12fa0a171e..9873b0269a 100644
--- a/applications/luci-app-olsr/luasrc/model/cbi/olsr/olsrdplugins6.lua
+++ b/applications/luci-app-olsr/luasrc/model/cbi/olsr/olsrdplugins6.lua
@@ -227,6 +227,7 @@ else
-- create a loadplugin section for each found plugin
for v in fs.dir("/usr/lib") do
if v:sub(1, 6) == "olsrd_" then
+ v=string.match(v, "^(olsrd_.*)%.so%..*")
if not plugins[v] then
mpi.uci:section(
"olsrd6", "LoadPlugin", nil,