Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
dadigang
Ventoy
Commits
8f711c9d
Commit
8f711c9d
authored
Jan 18, 2021
by
longpanda
Browse files
Optimization for check secure boot status in list mode. (PR #703)
parent
b0cacd66
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
7 deletions
+1
-7
INSTALL/tool/VentoyWorker.sh
INSTALL/tool/VentoyWorker.sh
+1
-7
No files found.
INSTALL/tool/VentoyWorker.sh
View file @
8f711c9d
...
...
@@ -121,17 +121,11 @@ if [ "$MODE" = "list" ]; then
echo
"Disk Partition Style : MBR"
fi
vtPART2
=
$(
get_disk_part_name
$DISK
2
)
rm
-rf
./tmpmntp2
&&
mkdir
./tmpmntp2
mount
$vtPART2
./tmpmntp2
>
/dev/null 2>&1
if
[
-e
./tmpmntp2/EFI/BOOT/MokManager.efi
]
;
then
if
check_disk_secure_boot
$DISK
;
then
echo
"Secure Boot Support : YES"
else
echo
"Secure Boot Support : NO"
fi
umount ./tmpmntp2
>
/dev/null 2>&1
rm
-rf
./tmpmntp2
else
echo
"Ventoy Version: NA"
fi
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment