diff options
author | Philipp Borgers <borgers@mi.fu-berlin.de> | 2018-10-25 21:54:42 +0200 |
---|---|---|
committer | Philipp Borgers <borgers@mi.fu-berlin.de> | 2018-10-25 21:56:06 +0200 |
commit | 5f65547dfd59ae3fe9e45f0ac4bc4a06808b4847 (patch) | |
tree | de569fed77af0e1f369d149419380e419c625fad /contrib/package/freifunk-common/files | |
parent | 35b543e270428357d22ede5ceff39653b3371a1b (diff) |
get rid of library version numbers in luci olsrd code
Signed-off-by: Philipp Borgers <borgers@mi.fu-berlin.de>
Diffstat (limited to 'contrib/package/freifunk-common/files')
-rwxr-xr-x | contrib/package/freifunk-common/files/usr/bin/neigh.sh | 2 | ||||
-rwxr-xr-x | contrib/package/freifunk-common/files/usr/sbin/ff_olsr_watchdog | 2 |
2 files changed, 2 insertions, 2 deletions
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 |