summaryrefslogtreecommitdiff
path: root/Kernel
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2018-10-31 01:21:56 +0100
committerAndreas Kling <awesomekling@gmail.com>2018-10-31 01:21:56 +0100
commit511ed4c4de349dd62dc302c9d46603aaeaf19f3d (patch)
tree3afc35ac695b05ff3ba08d940a92a9040e98e09f /Kernel
parent3218f00099443d974427c7547f42a87ae4fc50d8 (diff)
downloadserenity-511ed4c4de349dd62dc302c9d46603aaeaf19f3d.zip
Snazz up the sh prompt a bit. Add the current tty to it.
Diffstat (limited to 'Kernel')
-rw-r--r--Kernel/init.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/Kernel/init.cpp b/Kernel/init.cpp
index 11eebe6ef9..115eafe35c 100644
--- a/Kernel/init.cpp
+++ b/Kernel/init.cpp
@@ -40,12 +40,6 @@ VirtualConsole* tty2;
VirtualConsole* tty3;
Keyboard* keyboard;
-void banner()
-{
- InterruptDisabler disabler;
- kprintf("\n\033[33;1mWelcome to \033[36;1mSerenity OS!\033[0m\n\n");
-}
-
static byte parseHexDigit(char nibble)
{
if (nibble >= '0' && nibble <= '9')
@@ -191,8 +185,6 @@ static void init_stage2()
}
#endif
- banner();
-
int error;
auto* sh0 = Task::createUserTask("/bin/sh", (uid_t)100, (gid_t)100, (pid_t)0, error, nullptr, tty0);
auto* sh1 = Task::createUserTask("/bin/sh", (uid_t)100, (gid_t)100, (pid_t)0, error, nullptr, tty1);