Created
December 3, 2017 10:34
-
-
Save yellowgh0st/2041a35eec55d3d101d1da2bf28b41a6 to your computer and use it in GitHub Desktop.
grub2: patch that removes welcome message
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- a/grub-core/kern/main.c | |
+++ b/grub-core/kern/main.c | |
@@ -207,7 +207,7 @@ | |
if (device) | |
{ | |
char *prefix_set; | |
- | |
+ | |
prefix_set = grub_xasprintf ("(%s)%s", device, path ? : ""); | |
if (prefix_set) | |
{ | |
@@ -271,7 +271,6 @@ | |
/* Hello. */ | |
grub_setcolorstate (GRUB_TERM_COLOR_HIGHLIGHT); | |
- grub_printf ("Welcome to GRUB!\n\n"); | |
grub_setcolorstate (GRUB_TERM_COLOR_STANDARD); | |
grub_load_config (); | |
@@ -282,7 +281,7 @@ | |
grub_register_exported_symbols (); | |
#ifdef GRUB_LINKER_HAVE_INIT | |
grub_arch_dl_init_linker (); | |
-#endif | |
+#endif | |
grub_load_modules (); | |
grub_boot_time ("After loading embedded modules."); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment