}
function ventoy_ext_menu {
- #if [ -e $vt_plugin_path/ventoy/ventoy_grub.cfg ]; then
+ if [ -e $vt_plugin_path/ventoy/ventoy_grub.cfg ]; then
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
+ else
+ echo "ventoy_grub.cfg NOT exist."
+ echo -e "\npress ENTER to exit ..."
+ read vtInputKey
+ fi
}
function get_os_type {