public bool CheckCanBoot()
{
if (shared.VolumeMgr == null) { shared.Logger.Log("No volume mgr"); }
else if (!shared.VolumeMgr.CheckCurrentVolumeRange()) { shared.Logger.LogException(new Safe.Exceptions.KOSVolumeOutOfRangeException("Boot")); }
else if (shared.VolumeMgr.CurrentVolume == null) { shared.Logger.Log("No current volume"); }
else if (shared.ScriptHandler == null) { shared.Logger.Log("No script handler"); }
else
{
return true;
}
return false;
}