summaryrefslogtreecommitdiffstats
path: root/admin/WebConsole/asistentes
diff options
context:
space:
mode:
authorramon <ramongomez@us.es>2017-09-15 12:01:32 +0000
committerramon <ramongomez@us.es>2017-09-15 12:01:32 +0000
commita00cca1cde327ca774b0c9ec611b5b432ae0347d (patch)
treed1443ceb124444486af6f3686506a079e8bd03b1 /admin/WebConsole/asistentes
parent552a6aefda7bd70c67412c5ff989f07e3005b8b3 (diff)
#767: Solucionar errata y evitar problema al crear tabla MSDOS en discos nuevos.
git-svn-id: https://opengnsys.es/svn/branches/version1.1@5424 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'admin/WebConsole/asistentes')
-rw-r--r--admin/WebConsole/asistentes/jscripts/asistentes.js7
1 files changed, 5 insertions, 2 deletions
diff --git a/admin/WebConsole/asistentes/jscripts/asistentes.js b/admin/WebConsole/asistentes/jscripts/asistentes.js
index cbdfa144..b1f0444f 100644
--- a/admin/WebConsole/asistentes/jscripts/asistentes.js
+++ b/admin/WebConsole/asistentes/jscripts/asistentes.js
@@ -187,6 +187,7 @@ ogEcho session \"[20] $MSG_HELP_ogGetCacheSize\"\n \
sizecache=`ogGetCacheSize` \n ";
cacheCode="\
ogEcho session \"[30] $MSG_HELP_ogUpdatePartitionTable "+n_disk+"\"\n \
+ogCreatePartitionTable "+n_disk+" "+tipo_part_table +" \n \
ogDeletePartitionTable "+n_disk+" \n \
ogExecAndLog command ogUpdatePartitionTable "+n_disk+" \n \
ogEcho session \"[50] $MSG_HELP_ogCreateCache\"\n \
@@ -199,6 +200,7 @@ initCache "+n_disk+" $sizecache NOMOUNT &>/dev/null \n ";
}
cacheCode="\
ogEcho session \"[30] $MSG_HELP_ogUpdatePartitionTable "+n_disk+"\"\n \
+ogCreatePartitionTable "+n_disk+" "+tipo_part_table +" \n \
ogDeletePartitionTable "+n_disk+" \n \
ogUpdatePartitionTable "+n_disk+" \n \
ogEcho session \"[50] $MSG_HELP_ogCreateCache\"\n \
@@ -207,6 +209,7 @@ initCache " + n_disk + " " + cacheSize + " NOMOUNT &>/dev/null";
} else {
cacheCode="\
ogEcho session \"[30] $MSG_HELP_ogUpdatePartitionTable "+n_disk+"\"\n \
+ogCreatePartitionTable "+n_disk+" "+tipo_part_table +" \n \
ogDeletePartitionTable "+n_disk+" \n \
ogUpdatePartitionTable "+n_disk+" \n";
partCode += " EMPTY:0";
@@ -248,7 +251,7 @@ partCode += " EMPTY:0";
form.codigo.value="\
" + sizecacheCode + " \n \
ogEcho session \"[10] $MSG_HELP_ogUnmountAll "+n_disk+"\"\n \
-ogUnmountAll "+n_disk+" 2>/dev/null\n \
+ogUnmountAll "+n_disk+" 2>/dev/null \n \
ogUnmountCache \n \
" + cacheCode + " \n \
ogEcho session \"[60] $MSG_HELP_ogListPartitions "+n_disk+"\"\n \
@@ -262,7 +265,7 @@ if ogExecAndLog command session ogCreatePartitions "+n_disk+" " + partCode + ";
ms-sys /dev/sda | grep unknow && ms-sys /dev/sda \n \
ogExecAndLog command session log ogListPartitions "+n_disk+" \n \
else \n \
- ogEcho session log \"[100] ERROR: $MSG_HELP_ogCreatePartitions \n \
+ ogEcho session log \"[100] ERROR: $MSG_HELP_ogCreatePartitions\" \n \
sleep 5 \n \
fi";
}