diff options
author | ramon <ramongomez@us.es> | 2012-05-18 12:40:30 +0000 |
---|---|---|
committer | ramon <ramongomez@us.es> | 2012-05-18 12:40:30 +0000 |
commit | 8baebd4dacfa94aab2c0524b8756700d6947e8a9 (patch) | |
tree | 7ffe5d255d8c9dbda5a411b73c0ebc794e58b704 /admin | |
parent | 60fc799548436a38b8ee126842d4975087f6aa84 (diff) |
VersiĆ³n 1.0.4, #531: Detectar id. de particiones GPT.
git-svn-id: https://opengnsys.es/svn/branches/version1.0@3058 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'admin')
-rwxr-xr-x | admin/Interface/getConfiguration | 11 |
1 files changed, 5 insertions, 6 deletions
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 '{ } }' - |