Browse Source

single-user terminal should start full screen

K. Lange 4 years ago
parent
commit
d96f52ec93
2 changed files with 3 additions and 3 deletions
  1. 2 2
      base/etc/startup.d/99_runstart.sh
  2. 1 1
      boot/cstuff.c

+ 2 - 2
base/etc/startup.d/99_runstart.sh

@@ -2,7 +2,7 @@
 
 export-cmd START kcmdline -g start
 
-if equals? $START "--vga" then exec /bin/terminal-vga -l
-if equals? $START "--headless" then exec /bin/getty
+if equals? "$START" "--vga" then exec /bin/terminal-vga -l
+if equals? "$START" "--headless" then exec /bin/getty
 if empty? "$START" then exec /bin/compositor else exec /bin/compositor $START
 

+ 1 - 1
boot/cstuff.c

@@ -36,7 +36,7 @@ EFI_HANDLE ImageHandleIn;
 /* Boot command line strings */
 #define DEFAULT_ROOT_CMDLINE "root=/dev/ram0,nocache "
 #define DEFAULT_GRAPHICAL_CMDLINE "start=live-session "
-#define DEFAULT_SINGLE_CMDLINE "start=terminal "
+#define DEFAULT_SINGLE_CMDLINE "start=terminal\037-F "
 #define DEFAULT_TEXT_CMDLINE "start=--vga "
 #define DEFAULT_VID_CMDLINE "vid=auto,1440,900 "
 #define DEFAULT_PRESET_VID_CMDLINE "vid=preset "