summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorIrina Gómez <irinagomez@us.es>2019-05-23 12:09:18 +0200
committerIrina Gómez <irinagomez@us.es>2019-05-23 12:09:18 +0200
commit63eec7759f44bdb2c7f453fc4963ebca00640b30 (patch)
tree82fdbc4e970edecfa8eb5b74d4454fafa2621420 /client
parent588d1eb2b5c7e766f1edffc5ae7d2e7e326a0a5b (diff)
#802 #889 ogSetPartitionActive ends without change to UEFI computers. In this case to active a particion we must use ogNvramActiveEntry
Diffstat (limited to 'client')
-rwxr-xr-xclient/engine/Disk.lib4
1 files changed, 4 insertions, 0 deletions
diff --git a/client/engine/Disk.lib b/client/engine/Disk.lib
index f7535370..ef6da455 100755
--- a/client/engine/Disk.lib
+++ b/client/engine/Disk.lib
@@ -1332,6 +1332,10 @@ if [ "$*" == "help" ]; then
"$FUNCNAME 1 1"
return
fi
+
+# Si el EFI esta activo me salgo.
+ogIsEfiActive && echo "EFI: $MSG_DONTUSE $FUNCNAME" && return
+
# Error si no se reciben 2 parámetros.
[ $# == 2 ] || ogRaiseError $OG_ERR_FORMAT || return $?