From 8baebd4dacfa94aab2c0524b8756700d6947e8a9 Mon Sep 17 00:00:00 2001 From: ramon Date: Fri, 18 May 2012 12:40:30 +0000 Subject: VersiĆ³n 1.0.4, #531: Detectar id. de particiones GPT. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: https://opengnsys.es/svn/branches/version1.0@3058 a21b9725-9963-47de-94b9-378ad31fedc9 --- admin/Interface/getConfiguration | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'admin/Interface') diff --git a/admin/Interface/getConfiguration b/admin/Interface/getConfiguration index e8ef70c2..0a32905a 100755 --- a/admin/Interface/getConfiguration +++ b/admin/Interface/getConfiguration @@ -19,11 +19,11 @@ for ((par=1;par<=$particiones;par++)); do tam=$(ogGetPartitionSize 1 $par 2>/dev/null) tam=${tam:-"0"} # Sistema de fichero instalado - if [ $cod == 82 ]; then - soi=" " - else - soi=$(getOsVersion 1 $par 2>/dev/null | cut -f2 -d:) - fi + case "$cod" in + ""|82|8200|a502|bf02|ee|ef0[012]) + soi=" " ;; + *) soi=$(getOsVersion 1 $par 2>/dev/null | cut -f2 -d:) ;; + esac cfg="$cfg$par:$cod:$fsi:$soi:$tam;" done @@ -37,4 +37,3 @@ echo $cfg | awk '{ } }' - -- cgit v1.2.3-18-g5258