From ae21b8ee566b171938ca132572d0373148b83f2f Mon Sep 17 00:00:00 2001 From: Sergey Bugaev Date: Wed, 27 May 2020 00:42:46 +0300 Subject: Base: Replace TTYServer with text mode Shell Now that we have SystemServer that can (re)spawn the Shell, we don't need a separate server just for that. The two shells (on tty0 and tty1) are configured to only be started when booting in text mode. This means you can now simply say boot_mode=text on the kernel command line, and SystemServer will set up the system and spawn a comfy root shell for you :^) --- Base/usr/share/man/man5/SystemServer.md | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'Base/usr/share/man/man5/SystemServer.md') diff --git a/Base/usr/share/man/man5/SystemServer.md b/Base/usr/share/man/man5/SystemServer.md index 3e5ceb957d..a5cede161f 100644 --- a/Base/usr/share/man/man5/SystemServer.md +++ b/Base/usr/share/man/man5/SystemServer.md @@ -50,12 +50,13 @@ Priority=low KeepAlive=1 User=anon -# Spawn the TTYServer on /dev/tty1 once on startup with a high priority, -# additionally passing it "tty1" as an argument. -[TTYServer] -Arguments=tty1 -StdIO=/dev/tty1 -Priority=high +# Launch the Shell on /dev/tty0 on startup when booting in text mode. +[Shell@tty0] +Executable=/bin/Shell +StdIO=/dev/tty0 +Environment=TERM=xterm +KeepAlive=1 +BootModes=text ``` ## See also -- cgit v1.2.3