]> glassweightruler.freedombox.rocks Git - Ventoy.git/blobdiff - INSTALL/grub/grub.cfg
You can set { "VTOY_DEFAULT_IMAGE": "F2>" } to set F2 browser as the default menu...
[Ventoy.git] / INSTALL / grub / grub.cfg
index fe74ffa468aa128b17affc1914580fafdc87914c..a59b82d02b47ec739a1e7f85c11f7ce30de9a11b 100644 (file)
@@ -2318,8 +2318,11 @@ if [ -n "$VTOY_DEFAULT_IMAGE" ]; then
         
         export timeout
         export default
-        
-        if [ "$vtHotkey" = "F4" ]; then
+
+        if [ "$vtHotkey" = "F2" ]; then
+            unset timeout
+            vt_browser_disk
+        elif [ "$vtHotkey" = "F4" ]; then
             ventoy_localboot
         elif [ "$vtHotkey" = "F5" ]; then
             ventoy_diagnosis