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 --- contrib/package/freifunk-common/files/usr/bin/neigh.sh | 2 +- contrib/package/freifunk-common/files/usr/sbin/ff_olsr_watchdog | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'contrib/package/freifunk-common/files') diff --git a/contrib/package/freifunk-common/files/usr/bin/neigh.sh b/contrib/package/freifunk-common/files/usr/bin/neigh.sh index 468ed7a3e0..82589ecfdf 100755 --- a/contrib/package/freifunk-common/files/usr/bin/neigh.sh +++ b/contrib/package/freifunk-common/files/usr/bin/neigh.sh @@ -10,7 +10,7 @@ hostsfile_getname() while value="$( uci -q get $config.@LoadPlugin[$i].library )"; do { case "$value" in - 'olsrd_nameservice.so.'*) + 'olsrd_nameservice'*) file="$( uci -q get $config.@LoadPlugin[$i].hosts_file )" break ;; diff --git a/contrib/package/freifunk-common/files/usr/sbin/ff_olsr_watchdog b/contrib/package/freifunk-common/files/usr/sbin/ff_olsr_watchdog index 8ac803d309..af1d7ca68d 100755 --- a/contrib/package/freifunk-common/files/usr/sbin/ff_olsr_watchdog +++ b/contrib/package/freifunk-common/files/usr/sbin/ff_olsr_watchdog @@ -11,7 +11,7 @@ if fs.access("/var/run/olsrd.pid") or fs.access("/var/run/olsrd4.pid") then x:foreach("olsrd", "LoadPlugin", function(s) - if s.library == "olsrd_watchdog.so.0.1" then + if s.library == "olsrd_watchdog" then intv = tonumber(s.interval) stamp = s.file end -- cgit v1.2.3