mirror of
https://github.com/unraid/webgui.git
synced 2026-05-12 07:10:52 -05:00
Merge branch 'master' of github.com:limetech/dynamix-6.2
This commit is contained in:
@@ -1483,11 +1483,11 @@ $showAdditionalInfo = '';
|
||||
<input type="hidden" name="confDisplay[]" value="{6}">
|
||||
<input type="hidden" name="confRequired[]" value="{7}">
|
||||
<input type="hidden" name="confMask[]" value="{8}">
|
||||
<table class="settings">
|
||||
<table class="settings" style="padding-top: 18px;">
|
||||
<tr>
|
||||
<td class="{11}">{0}:</td>
|
||||
<td class="{11}" style="vertical-align: top;">{0}:</td>
|
||||
<td>
|
||||
<input type="text" class="textPath" name="confValue[]" default="{2}" value="{9}" autocomplete="off" style="margin-top: 12px;" {11}> {10}
|
||||
<input type="text" class="textPath" name="confValue[]" default="{2}" value="{9}" autocomplete="off" {11}> {10}
|
||||
<div style='color:#C98C21;line-height:1.6em;'>{4}</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -147,7 +147,7 @@ else
|
||||
// create SMART reports (suppress errors)
|
||||
$disks = file_exists("$get/disks.ini") ? parse_ini_file("$get/disks.ini", true) : [];
|
||||
include_once '/usr/local/emhttp/webGui/include/CustomMerge.php';
|
||||
exec("ls -l /dev/disk/by-id/[au]* 2>/dev/null|awk '$0!~/-part/{split($11,a,\"/\");print a[3],substr($9,21)}'", $devices);
|
||||
exec("ls -l /dev/disk/by-id/[asu]* 2>/dev/null|awk '$0!~/-part/{split($11,a,\"/\");print a[3],substr($9,21)}'", $devices);
|
||||
foreach ($devices as $device) {
|
||||
$disk = explode(' ',$device);
|
||||
$type = '';
|
||||
|
||||
Reference in New Issue
Block a user