contrib/meshwizard: add watchdog plugin in olsr config
This commit is contained in:
parent
af094a27e2
commit
5c4a6b5e7d
1 changed files with 9 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue