"on") { if (is_process_running("olsrd")) mwexec("/usr/bin/killall olsrd", true); return; } $fd = fopen("{$g['varetc_path']}/olsr.conf", "w"); if($olsrd['announcedynamicroute'] or $olsrd['enableannounce'] == "on") { $enableannounce .= "\nHna4\n"; $enableannounce .= "{\n"; if($olsrd['announcedynamicroute']) $enableannounce .= "\t{$olsrd['announcedynamicroute']}\n"; if($olsrd['enableannounce'] == "on") $enableannounce .= "0.0.0.0 0.0.0.0"; $enableannounce .= "\n}\n"; } else { $enableannounce = ""; } $olsr .= <<0 # # defaults to 1 MprCoverage 3 # Example plugin entry with parameters: EODA; if($olsrd['enablehttpinfo'] == "on") { $olsr .= <<