File tree Expand file tree Collapse file tree 2 files changed +11
-2
lines changed
Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -97,8 +97,8 @@ Miscellaneous:
9797 named ` Arch Linux ` ). If unspecified, it is ` 1 ` .
9898* ` remember_last_entry ` - If set to ` yes ` , remember last booted entry.
9999 (UEFI only).
100- * ` graphics ` - If set to ` no ` , force CGA text mode for the boot menu, else use
101- a video mode. Ignored with Limine UEFI.
100+ * ` graphics ` - If set to ` no ` , force text mode for the boot menu, else use
101+ a video mode.
102102* ` wallpaper ` - Path to a file to use as a wallpaper. BMP, PNG, and JPEG
103103 formats are supported. There can be multiple of this option, in which case
104104 the wallpaper will be randomly selected from the provided options.
Original file line number Diff line number Diff line change @@ -1047,6 +1047,15 @@ noreturn void _menu(bool first_run) {
10471047#endif
10481048 serial_str != NULL && strcmp (serial_str , "yes" ) == 0 ;
10491049
1050+ #if defined (UEFI )
1051+ if (!serial ) {
1052+ char * graphics_str = config_get_value (NULL , 0 , "GRAPHICS" );
1053+ if (graphics_str != NULL && strcmp (graphics_str , "no" ) == 0 ) {
1054+ serial = true;
1055+ }
1056+ }
1057+ #endif
1058+
10501059#if defined (BIOS )
10511060 if (serial ) {
10521061 char * baudrate_s = config_get_value (NULL , 0 , "SERIAL_BAUDRATE" );
You can’t perform that action at this time.
0 commit comments