diff options
Diffstat (limited to 'admin/Interface')
-rwxr-xr-x | admin/Interface/Configurar | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/admin/Interface/Configurar b/admin/Interface/Configurar index c9cc7bee..9b0a6811 100755 --- a/admin/Interface/Configurar +++ b/admin/Interface/Configurar @@ -117,7 +117,14 @@ ogUpdatePartitionTable $dis | tee -a $OGLOGSESSION $OGLOGFILE # Crea tabla de particiones MSDOS (NOTA: adaptar para tablas GPT). ogCreatePartitionTable $dis MSDOS +# Cuestión caché +if [ "$che" == "1" ]; then + initCache $tch >/dev/null | tee -a $OGLOGSESSION $OGLOGFILE +fi + +# Definir particionado. ogCreatePartitions $dis ${TBP[@]} | tee -a $OGLOGSESSION $OGLOGFILE +ogUpdatePartitionTable $dis | tee -a $OGLOGSESSION $OGLOGFILE RETVAL=$? if [ $RETVAL -ne 0 ]; then @@ -138,13 +145,6 @@ for ((par=1; par<=$maxp; par++)); do fi done -# Cuestión caché -if [ "$che" == "1" ]; then - initCache $tch >/dev/null | tee -a $OGLOGSESSION $OGLOGFILE -fi - -ogUpdatePartitionTable $dis | tee -a $OGLOGSESSION $OGLOGFILE - #___________________________________________________________________ # # Retorno |