diff options
author | ramon <ramongomez@us.es> | 2015-11-10 12:21:53 +0000 |
---|---|---|
committer | ramon <ramongomez@us.es> | 2015-11-10 12:21:53 +0000 |
commit | 9ca55abe78d36fc1adffa80328464ae4ca176db0 (patch) | |
tree | 382613f20c9a3e0f269ee2c4e4f2988d8ca23ac1 /admin/WebConsole/includes/pintaParticiones.php | |
parent | 5c09bc57f90c436c55160e3a4e0f5765cdb651c5 (diff) |
#676: Activar automáticamente módulo para ZFS; detección correcta de ZPOOL y mostrar datos en tabla de configuración.
git-svn-id: https://opengnsys.es/svn/branches/version1.1@4727 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'admin/WebConsole/includes/pintaParticiones.php')
-rw-r--r-- | admin/WebConsole/includes/pintaParticiones.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/admin/WebConsole/includes/pintaParticiones.php b/admin/WebConsole/includes/pintaParticiones.php index c209fffb..02379df7 100644 --- a/admin/WebConsole/includes/pintaParticiones.php +++ b/admin/WebConsole/includes/pintaParticiones.php @@ -87,6 +87,8 @@ function pintaParticiones($cmd,$configuraciones,$idordenadores,$cc) break; case 3: $disktable[$tbKeys[$k]["numdisk"]] = "LVM"; break; + case 4: $disktable[$tbKeys[$k]["numdisk"]] = "ZPOOL"; + break; default: $disktable[$tbKeys[$k]["numdisk"]] = ""; } } @@ -94,7 +96,7 @@ function pintaParticiones($cmd,$configuraciones,$idordenadores,$cc) echo'<tr height="16">'.chr(13); echo'<td align="center"> </td>'.chr(13); echo'<td align="center">'.$tbKeys[$k]["numpar"].'</td>'.chr(13); - if ($disktable[$tbKeys[$k]["numdisk"]] == "LVM") { + if ($disktable[$tbKeys[$k]["numdisk"]] == "LVM" or $disktable[$tbKeys[$k]["numdisk"]] == "ZPOOL") { echo '<td></td>'.chr(13); } else { |