summaryrefslogtreecommitdiffstats
path: root/admin/Interface
diff options
context:
space:
mode:
Diffstat (limited to 'admin/Interface')
-rwxr-xr-xadmin/Interface/getConfiguration3
1 files changed, 3 insertions, 0 deletions
diff --git a/admin/Interface/getConfiguration b/admin/Interface/getConfiguration
index 8b28b75a..997d642e 100755
--- a/admin/Interface/getConfiguration
+++ b/admin/Interface/getConfiguration
@@ -43,6 +43,9 @@ for ((dsk=1; dsk<=$disks; dsk++)); do
done
done
+# Crear configuraciĆ³n por defecto para cliente sin disco.
+[ -z "$cfg" ] && cfg="1:0:0:::0;"
+
# Guardar salida en fichero temporal.
cfgfile=/tmp/getconfig
echo $cfg > $cfgfile