mirror of
https://github.com/unraid/webgui.git
synced 2026-04-24 02:58:57 -05:00
correct handling of unclean shutdown detection
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user