From 5f65547dfd59ae3fe9e45f0ac4bc4a06808b4847 Mon Sep 17 00:00:00 2001 From: Philipp Borgers Date: Thu, 25 Oct 2018 21:54:42 +0200 Subject: get rid of library version numbers in luci olsrd code Signed-off-by: Philipp Borgers --- modules/luci-mod-freifunk/luasrc/view/freifunk-map/frame.htm | 2 +- modules/luci-mod-freifunk/luasrc/view/freifunk-map/map.htm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/luci-mod-freifunk/luasrc/view') diff --git a/modules/luci-mod-freifunk/luasrc/view/freifunk-map/frame.htm b/modules/luci-mod-freifunk/luasrc/view/freifunk-map/frame.htm index dbf3820f5c..bd936ac705 100644 --- a/modules/luci-mod-freifunk/luasrc/view/freifunk-map/frame.htm +++ b/modules/luci-mod-freifunk/luasrc/view/freifunk-map/frame.htm @@ -4,7 +4,7 @@ local has_latlon = false local uci = require "luci.model.uci".cursor() uci:foreach("olsrd", "LoadPlugin", function(s) - if s.library == "olsrd_nameservice.so.0.3" and s.latlon_file then + if s.library == "olsrd_nameservice" and s.latlon_file then has_latlon = true end end) diff --git a/modules/luci-mod-freifunk/luasrc/view/freifunk-map/map.htm b/modules/luci-mod-freifunk/luasrc/view/freifunk-map/map.htm index c3951f9c63..f69401d6e3 100644 --- a/modules/luci-mod-freifunk/luasrc/view/freifunk-map/map.htm +++ b/modules/luci-mod-freifunk/luasrc/view/freifunk-map/map.htm @@ -85,7 +85,7 @@ local uci = require "luci.model.uci".cursor() uci:foreach("olsrd", "LoadPlugin", function(s) - if s.library == "olsrd_nameservice.so.0.3" and s.latlon_file then + if s.library == "olsrd_nameservice" and s.latlon_file then fd = io.open(s.latlon_file) end end) -- cgit v1.2.3