]> glassweightruler.freedombox.rocks Git - Ventoy.git/blobdiff - INSTALL/grub/grub.cfg
Don't delete partition when update in GPT partition style.
[Ventoy.git] / INSTALL / grub / grub.cfg
index 91ec7e06e383c7fb7d381ad18c16ce3028ea2218..a4b8f85d6d1d3b0b90d91a4230c40cc6cb35e94d 100644 (file)
@@ -68,15 +68,15 @@ function ventoy_localboot {
 }
 
 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 {