<p>Fixes <a href="https://github.com/opentechinstitute/nm-dispatcher-olsrd/issues/2" class="issue-link" title="olsrd kill logic is too coarse">#2</a>, and adds a minor feature that creates a log entry to indicate that Network Manager was unable to parse a .profile file.  To test:<br>
1.  have a test machine connected to a network via an ethernet cable, and then connect to a mesh.  Make sure olsrd is running, and then unplug the ethernet cable.  olsrd should still be running after the ethernet cable is unplugged.<br><br>
2..  Modify a .profile file such that all of the keys are correct, but one of the values contains some illegal syntax.  For example, give the BSSID an extra octet, or one too few.  Then do something to cause Network Manager to run the dispatcher (ie, bring an interface up or down) - and do this twice.  Now look in the syslog for a line that contains: "'Network Manager refused to accept the PRIOR version of..." </p>

<hr>

<h4>You can merge this Pull Request by running</h4>
<pre>  git pull https://github.com/opentechinstitute/nm-dispatcher-olsrd november</pre>
<p>Or view, comment on, or merge it at:</p>
<p>  <a href='https://github.com/opentechinstitute/nm-dispatcher-olsrd/pull/4'>https://github.com/opentechinstitute/nm-dispatcher-olsrd/pull/4</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>Addresses issue #2 by checking specified interface for IBSS status before running either up or down routines</li>
  <li>Update system-connection file for a profile if it is empty (which indicates that network-manager couldn't parse the last version)</li>
  <li>Added logging message to indicate that Network Manager found an error in the last parse of .profile file</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/opentechinstitute/nm-dispatcher-olsrd/pull/4/files#diff-0">nm-dispatcher-olsrd</a>
    (29)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/opentechinstitute/nm-dispatcher-olsrd/pull/4.patch'>https://github.com/opentechinstitute/nm-dispatcher-olsrd/pull/4.patch</a></li>
  <li><a href='https://github.com/opentechinstitute/nm-dispatcher-olsrd/pull/4.diff'>https://github.com/opentechinstitute/nm-dispatcher-olsrd/pull/4.diff</a></li>
</ul>