luci-app-olsr: cbi remove library version numbers in library search results
Signed-off-by: pmelange <isprotejesvalkata@gmail.com>
This commit is contained in:
parent
a6d96e0716
commit
19b640b53b
2 changed files with 2 additions and 0 deletions
|
@ -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(
|
||||
"olsrd", "LoadPlugin", nil,
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue