diff options
author | Manuel Munz <freifunk@somakoma.de> | 2012-05-28 18:52:55 +0000 |
---|---|---|
committer | Manuel Munz <freifunk@somakoma.de> | 2012-05-28 18:52:55 +0000 |
commit | 5c4a6b5e7d6f31eb2038d6e144126e5938e5655a (patch) | |
tree | 1519653f4303155c1fbebf6025855e2086e7eb3b /contrib/package/meshwizard | |
parent | af094a27e2888b7cd5c1d53c58c0f05479bf833e (diff) |
contrib/meshwizard: add watchdog plugin in olsr config
Diffstat (limited to 'contrib/package/meshwizard')
-rwxr-xr-x | contrib/package/meshwizard/files/usr/bin/meshwizard/helpers/setup_olsrd.sh | 9 |
1 files changed, 9 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 f06156a5f..10b1afff8 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 @@ -58,3 +58,12 @@ if [ "$general_sharenet" == 1 ]; then uci_commitverbose "Setup olsrd_dyngw_plain plugin" olsrd fi + +# Setup watchdog +uci batch << EOF + set olsrd.olsrd_watchdog=LoadPlugin + set olsrd.olsrd_watchdog.library="olsrd_watchdog.so.0.1" + set olsrd.olsrd_watchdog.file="/var/run/olsrd.watchdog" + set olsrd.olsrd_watchdog.interval=30 +EOF +uci_commitverbose "Setup olsr watchdog plugin" olsrd |