correct handling of unclean shutdown detection

This commit is contained in:
Tom Mortensen
2016-11-02 14:06:37 -07:00
parent 38b2f5969c
commit dd6e91c61c
+6
View File
@@ -366,6 +366,12 @@ toggle_diskio(true);
<td><strong>Start</strong> will bring the array on-line and start <strong>Clearing</strong> new data disk(s).</td>
</tr>
<? elseif ($var['sbClean']!="yes" && $var['mdResyncAction']=="check"):?>
<tr>
<td><?=status_indicator()?><span class="strong big">Stopped</span>. Unclean shutdown detected.</td>
<td><input type="submit" name="cmdStart" value="Start"></td>
<td><strong>Start</strong> will bring the array on-line.</td>
</tr>
<? elseif ($var['sbClean']!="yes" && strstr($var['mdResyncAction'],"check")):?>
<tr>
<td><?=status_indicator()?><span class="strong big">Stopped</span>. Unclean shutdown detected.</td>
<td><input type="submit" name="cmdStart" value="Start"></td>