mirror of
https://github.com/unraid/webgui.git
synced 2026-01-23 18:09:02 -06:00
Expand corruption test
This commit is contained in:
@@ -414,7 +414,7 @@ $(function() {
|
||||
});
|
||||
|
||||
// check for flash offline / corrupted. docker.cfg is guaranteed to always exist
|
||||
<? if ( ! @parse_ini_file("/boot/config/docker.cfg") ):?>
|
||||
<? if ( ! @parse_ini_file("/boot/config/docker.cfg") || ! @parse_ini_file("/boot/config/disk.cfg") || ! @parse_ini_file("/boot/config/domain.cfg") || ! @parse_ini_file("/boot/config/ident.cfg") ):?>
|
||||
$(function() {
|
||||
addBannerWarning("<?=_('Your flash drive is corrupted or offline. Post your diagnostics in the forum for help.')?> <a target='_blank' href='https://wiki.unraid.net/Manual/Changing_The_Flash_Device'><?=_('See also here')?>");
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user