Hello!

It's ridiculous to go to the command line just to exit from GRUB.
The attached patch makes /sbin/grub exit on 'q' if the menu is active.

Pavel Roskin
--- stage2/stage2.c     Thu Jun 24 04:03:29 1999
+++ stage2/stage2.c     Mon Jul 19 20:12:46 1999
@@ -477,6 +477,13 @@
                  
                  goto restart;
                }
+#ifdef GRUB_UTIL
+             if (c == 'q')
+               {
+                 /* The same as ``quit'' */
+                 return MENU_ABORT;
+               }
+#endif
            }
        }
     }

Reply via email to