location:$drive->name:$drive->mediaType:$drive->status:$drive->firmwareLevel"; $driveLoc[$i] = $driveInfo[0]; $driveLib[$i] = $driveInfo[1]; $driveType[$i] = $driveInfo[2]; $driveState[$i] = $driveInfo[3]; $driveLevel[$i] = $driveInfo[4]; $driveInterface[$i] = $driveInfo[5]; if ($driveLocs == "") { $driveLocs = $driveLoc[$i]; } else { $driveLocs = $driveLocs.":$driveLoc[$i]"; } $i++; } error_log("Drive Locs leaving drv fw update ==>".$driveLocs); } ?>
$temptext = " drive"; if ($numRows >= 2) { $temptext = "drives"; } ?> The following =$temptext;?> will be updated with the new firmware. |
Location | Logical Library | Type | Interface | Status | Firmware Level |
---|---|---|---|---|---|
=$driveLoc[$i];?> | =$driveLib[$i];?> | =$driveType[$i];?> | =$driveInterface[$i];?> | =$driveState[$i];?> |
$drive;
$sortCriteria->sortColumn = DRV_SORT_LOC;
$sortCriteria->ascending = true;
$drives = get_all_drives($user, $sortCriteria);
foreach ($drives as $tmpDrive)
{
if ($tmpDrive->location == $driveLoc[$i])
{
$drive = $tmpDrive;
}
}
if ($drive->isReady)
{
if ($drive->status == "Online")
{
print("![]() ![]() ![]() |
Total: =$numRows;?> |
![]() |
||||
This drive firmware update will take approximately =$text_min;?> minutes to complete. Are you sure you wish to continue with updating =$articleText;?>? | ||||
![]() |
|