summaryrefslogtreecommitdiff
path: root/Base/usr/share
diff options
context:
space:
mode:
authorSergey Bugaev <bugaevc@serenityos.org>2020-05-27 00:42:46 +0300
committerAndreas Kling <kling@serenityos.org>2020-05-27 11:19:38 +0200
commitae21b8ee566b171938ca132572d0373148b83f2f (patch)
tree57d1e698cfbd64c5aa97acfdb464a87f9e8577f6 /Base/usr/share
parent856e4853f49b2e95187cd0d030a36a1057454f8e (diff)
downloadserenity-ae21b8ee566b171938ca132572d0373148b83f2f.zip
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 :^)
Diffstat (limited to 'Base/usr/share')
-rw-r--r--Base/usr/share/man/man5/SystemServer.md13
1 files changed, 7 insertions, 6 deletions
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