fixes missing imports for gwcheck 229/head
authorNico Geyso <nico.geyso@fu-berlin.de>
Fri, 17 Oct 2014 16:25:28 +0000 (18:25 +0200)
committerNico Geyso <nico.geyso@fu-berlin.de>
Fri, 17 Oct 2014 16:27:24 +0000 (18:27 +0200)
since r41281 (83e9122) network.sh depends on jsonfilter instead of jshn.
Therefor jshn is missing for gwcheck and needs to be sourced manually.

contrib/package/freifunk-gwcheck/files/usr/sbin/ff_olsr_test_gw.sh

index 6bba7f0..b86b668 100755 (executable)
@@ -5,6 +5,7 @@
 
 . /lib/functions.sh
 . /lib/functions/network.sh
 
 . /lib/functions.sh
 . /lib/functions/network.sh
+. /usr/share/libubox/jshn.sh
 
 # exit if dyngw_plain is not enabled or RtTable is not (254 or unset)
 config_load olsrd
 
 # exit if dyngw_plain is not enabled or RtTable is not (254 or unset)
 config_load olsrd