Expand corruption test

This commit is contained in:
Squidly271
2021-04-29 14:50:16 -04:00
committed by GitHub
parent e512bcda12
commit 781d48558c

View File

@@ -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')?>");
});