summaryrefslogtreecommitdiffstats
path: root/admin/WebConsole/asistentes/jscripts
diff options
context:
space:
mode:
authorIrina Gómez <irinagomez@us.es>2020-05-05 12:53:47 +0200
committerIrina Gómez <irinagomez@us.es>2020-05-05 12:53:47 +0200
commit9fe0fe30b7b844c04f72b7506a503df257902c11 (patch)
tree69fb2b96807791e7de58b8430fc88dca79c8a568 /admin/WebConsole/asistentes/jscripts
parente521fb869b8734ee80b9541157109f4451560012 (diff)
#841 Fixes bug in partitioning wizard when configure MBR: ogGetBootMbr function is created for detect MBR content and used in wizard.
Diffstat (limited to 'admin/WebConsole/asistentes/jscripts')
-rw-r--r--admin/WebConsole/asistentes/jscripts/asistentes.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/admin/WebConsole/asistentes/jscripts/asistentes.js b/admin/WebConsole/asistentes/jscripts/asistentes.js
index 8f521e44..ccfcd0cc 100644
--- a/admin/WebConsole/asistentes/jscripts/asistentes.js
+++ b/admin/WebConsole/asistentes/jscripts/asistentes.js
@@ -298,7 +298,7 @@ if [ $EVAL -eq 0 ]; then \n \
ogSetPartitionActive "+n_disk+" 1 \n \
ogEcho log session \"[90] $MSG_HELP_ogListPartitions "+n_disk+"\"\n \
ogUpdatePartitionTable "+n_disk+" \n \
- ms-sys /dev/sda | grep unknow && ms-sys /dev/sda \n \
+ ogGetBootMbr "+n_disk+" | grep unknow && ogBootMbrGeneric "+n_disk+" \n \
ogExecAndLog command session log ogListPartitions "+n_disk+" \n\
"+ swapCode +"\
if ogFindCache &>/dev/null; then \n\
@@ -403,7 +403,7 @@ if [ $EVAL -eq 0 ]; then \n \
ogSetPartitionActive "+n_disk+" 1 \n \
ogEcho log session \"[90] $MSG_HELP_ogListPartitions "+n_disk+"\"\n \
ogUpdatePartitionTable "+n_disk+" \n \
- ms-sys /dev/sda | grep unknow && ms-sys /dev/sda \n \
+ ogGetBootMbr "+n_disk+" | grep -e unknow -e zeroed && ogBootMbrGeneric "+n_disk+" \n \
ogExecAndLog command session log ogListPartitions "+n_disk+" \n \
if ogFindCache &>/dev/null; then \n\
ogMountCache || ogFormatCache \n\