luci-app-olsr-services: Don't use the nameservice with a specific version.
authormmouselli <m.mouselli@syseleven.de>
Sun, 21 Oct 2018 16:47:57 +0000 (18:47 +0200)
committerpmelange <isprotejesvalkata@gmail.com>
Thu, 6 Dec 2018 18:00:17 +0000 (19:00 +0100)
The "Services" menu option of olsr on the top of the web interface
is not there.

A specific version of the App name was in the controller service
Removing the limitation will fix the problem

https://github.com/freifunk-berlin/firmware/issues/594

Signed-off-by: mmouselli <m.mouselli@syseleven.de>
applications/luci-app-olsr-services/luasrc/controller/services.lua

index a4636bfd5740843169c52ce3a469c5a5a5748773..7a543d353141dbef41d0af92a649efcffa17f0a2 100644 (file)
@@ -4,7 +4,7 @@ function index()
        local uci = require "luci.model.uci".cursor()
 
        uci:foreach("olsrd", "LoadPlugin", function(s)
-               if s.library == "olsrd_nameservice.so.0.3" then
+               if s.library == "olsrd_nameservice" then
                        has_serv = true
                end
        end)