11-23-2021, 04:15 PM
It may be convenient to immediately go to the partition with images, of exist /Ventoy/ventoy_Grub.cfg
Is this my option, what do you think?
Code:
function ventoy_ext_menu {
if [ -e $vt_plugin_path/ventoy/ventoy_grub.cfg ]; then
search -s root -f /ventoy/ventoy_grub.cfg
set ventoy_new_context=1
configfile $vt_plugin_path/ventoy/ventoy_grub.cfg
unset ventoy_new_context
else
echo "ventoy_grub.cfg NOT exist."
echo -e "\npress ENTER to exit ..."
read vtInputKey
fi
}
Is this my option, what do you think?