From e04f987f6b75a7e6ecd9414088f581b31131d48f Mon Sep 17 00:00:00 2001 From: ramon Date: Tue, 9 Apr 2013 10:17:00 +0000 Subject: #594: Orden correcto de ejecución de órdenes para no perder la definición de caché en el Comando Particionar. 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@3735 a21b9725-9963-47de-94b9-378ad31fedc9 --- admin/Interface/Configurar | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'admin') 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 -- cgit v1.2.3-18-g5258