From 9ca55abe78d36fc1adffa80328464ae4ca176db0 Mon Sep 17 00:00:00 2001 From: ramon Date: Tue, 10 Nov 2015 12:21:53 +0000 Subject: #676: Activar automáticamente módulo para ZFS; detección correcta de ZPOOL y mostrar datos en tabla de configuración. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: https://opengnsys.es/svn/branches/version1.1@4727 a21b9725-9963-47de-94b9-378ad31fedc9 --- admin/WebConsole/includes/pintaParticiones.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'admin/WebConsole/includes/pintaParticiones.php') 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''.chr(13); echo' '.chr(13); echo''.$tbKeys[$k]["numpar"].''.chr(13); - if ($disktable[$tbKeys[$k]["numdisk"]] == "LVM") { + if ($disktable[$tbKeys[$k]["numdisk"]] == "LVM" or $disktable[$tbKeys[$k]["numdisk"]] == "ZPOOL") { echo ''.chr(13); } else { -- cgit v1.2.3-18-g5258