summaryrefslogtreecommitdiff
path: root/Servers
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-11-06 11:41:50 +0100
committerAndreas Kling <awesomekling@gmail.com>2019-11-06 11:41:50 +0100
commit9e570d0d6dcdaf2adce8d72430e84d2d487ea56c (patch)
tree43b5f959d8df1a144b52b1180a7c116644f51f01 /Servers
parent2ad0ec325a00628eed113984e03cd6a222acfe5a (diff)
downloadserenity-9e570d0d6dcdaf2adce8d72430e84d2d487ea56c.zip
Kernel+SystemServer: Get rid of two virtual consoles
Having four virtual (text) consoles by default seems really overkill for a system that can't even switch to them anyway (yet!)
Diffstat (limited to 'Servers')
-rw-r--r--Servers/SystemServer/main.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/Servers/SystemServer/main.cpp b/Servers/SystemServer/main.cpp
index d713c5995b..cc33ea13a8 100644
--- a/Servers/SystemServer/main.cpp
+++ b/Servers/SystemServer/main.cpp
@@ -10,8 +10,6 @@
#include <sys/wait.h>
#include <unistd.h>
-//#define SPAWN_MULTIPLE_VIRTUAL_CONSOLES
-
void sigchld_handler(int)
{
int status = 0;
@@ -101,10 +99,6 @@ int main(int, char**)
// NOTE: We don't start anything on tty0 since that's the "active" TTY while WindowServer is up.
start_process("/bin/TTYServer", { "tty1" }, highest_prio, "/dev/tty1");
-#ifdef SPAWN_MULTIPLE_VIRTUAL_CONSOLES
- start_process("/bin/TTYServer", { "tty2" }, highest_prio, "/dev/tty2");
- start_process("/bin/TTYServer", { "tty3" }, highest_prio, "/dev/tty3");
-#endif
// Drop privileges.
setgid(100);