summaryrefslogtreecommitdiffstats
path: root/admin/Interface/getConfiguration
diff options
context:
space:
mode:
authorramon <ramongomez@us.es>2012-06-01 11:38:49 +0000
committerramon <ramongomez@us.es>2012-06-01 11:38:49 +0000
commitba98026678ac956b97d01d4b7e5f7f326fb6e1c7 (patch)
treec4798f31805e617a6134407fd0c24a215868c6f9 /admin/Interface/getConfiguration
parentd1c5ae0f251bb87a3e6de20491b3ee2d329672db (diff)
Versión 1.0.4, #526: Soporte para clientes con varios discos.
git-svn-id: https://opengnsys.es/svn/branches/version1.0@3121 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'admin/Interface/getConfiguration')
-rwxr-xr-xadmin/Interface/getConfiguration4
1 files changed, 2 insertions, 2 deletions
diff --git a/admin/Interface/getConfiguration b/admin/Interface/getConfiguration
index 2c93923f..e403286a 100755
--- a/admin/Interface/getConfiguration
+++ b/admin/Interface/getConfiguration
@@ -7,7 +7,7 @@
#_______________________________________________________________________________________________________________________________
particiones=$(ogGetPartitionsNumber 1) # Incluir todas las particiones
-cfg="0::::$(ogGetDiskSize 1);" # e información de disco (partición 0)
+cfg="1:0::::$(ogGetDiskSize 1);" # e información de disco (partición 0)
for ((par=1;par<=$particiones;par++)); do
# Código del identificador de tipo de partición
@@ -32,7 +32,7 @@ echo $cfg | awk '{
n=split($0,sep,";");
for (i=1; i<n; i++){
split (sep[i],dua,":");
- printf ("par=%s\tcpt=%s\tfsi=%s\tsoi=%s\ttam=%s\n",
+ printf ("disk=1\tpar=%s\tcpt=%s\tfsi=%s\tsoi=%s\ttam=%s\n",
dua[1],dua[2],dua[3],dua[4],dua[5]);
}
}'