VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/DcsRe
diff options
context:
space:
mode:
authorkavsrf <kavsrf@gmail.com>2016-09-17 01:00:44 +0300
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2016-10-17 18:17:43 +0200
commit5fb01149ef1cecc36b261094b304ff0654bb7ae3 (patch)
treeccef2539faf18ffb8a2e29cd9f96e228c93cb4dc /DcsRe
parentb6d7ea98fc46c20b59860edcffac13fee89d69b0 (diff)
downloadVeraCrypt-DCS-5fb01149ef1cecc36b261094b304ff0654bb7ae3.tar.gz
VeraCrypt-DCS-5fb01149ef1cecc36b261094b304ff0654bb7ae3.zip
DcsRe select volume is added to boot from usb
Notes (7.2, 7.4)
Diffstat (limited to 'DcsRe')
-rw-r--r--DcsRe/DcsRe.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/DcsRe/DcsRe.c b/DcsRe/DcsRe.c
index 9c59dfc..7d08d50 100644
--- a/DcsRe/DcsRe.c
+++ b/DcsRe/DcsRe.c
@@ -151,7 +151,9 @@ ActionShell() {
EFI_STATUS
ActionDcsBoot() {
- return EfiExec(NULL, L"EFI\\VeraCrypt\\DcsBoot.efi");
+ SelectEfiVolume();
+ if (EfiBootVolume == NULL) return EFI_NOT_READY;
+ return EfiExec(gFSHandles[EfiBootVolumeIndex], L"EFI\\VeraCrypt\\DcsBoot.efi");
}
CHAR16* DcsBootBins[] = {