summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rwxr-xr-xcontrib/package/meshwizard/files/usr/bin/meshwizard/helpers/setup_olsrd.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/contrib/package/meshwizard/files/usr/bin/meshwizard/helpers/setup_olsrd.sh b/contrib/package/meshwizard/files/usr/bin/meshwizard/helpers/setup_olsrd.sh
index f97aad6f47..5f6f550938 100755
--- a/contrib/package/meshwizard/files/usr/bin/meshwizard/helpers/setup_olsrd.sh
+++ b/contrib/package/meshwizard/files/usr/bin/meshwizard/helpers/setup_olsrd.sh
@@ -93,3 +93,10 @@ uci batch << EOF
set olsrd.olsrd_watchdog.interval=30
EOF
uci_commitverbose "Setup olsr watchdog plugin" olsrd
+
+# Setup jsoninfo
+uci batch << EOF
+ set olsrd.olsrd_jsoninfo=LoadPlugin
+ set olsrd.olsrd_jsoninfo.library="olsrd_jsoninfo.so.0.0"
+EOF
+uci_commitverbose "Setup olsr jsoninfo plugin" olsrd