Cool banner because it is cool
This commit is contained in:
parent
d6793bf093
commit
4d688c6837
1 changed files with 11 additions and 0 deletions
11
user/init.c
11
user/init.c
|
@ -11,6 +11,16 @@
|
|||
|
||||
char *argv[] = { "sh", 0 };
|
||||
|
||||
const char *banner =
|
||||
"\n $$\\ $$\\ $$$$$$\\\n"
|
||||
" $$ | $$ | $$ __$$\\ \n"
|
||||
" \\$$\\ $$ |$$\\ $$\\ $$ / \\__|\n"
|
||||
" \\$$$$ / \\$$\\ $$ |$$$$$$$\\ \n"
|
||||
" $$ $$< \\$$\\$$ / $$ __$$\\ \n"
|
||||
" $$ /\\$$\\ \\$$$ / $$ / $$ |\n"
|
||||
" $$ / $$ | \\$ / $$$$$$ |\n"
|
||||
" \\__| \\__| \\_/ \\______/\n\n";
|
||||
|
||||
int
|
||||
main(void)
|
||||
{
|
||||
|
@ -25,6 +35,7 @@ main(void)
|
|||
|
||||
for(;;) {
|
||||
printf("init: starting sh\n");
|
||||
printf(banner);
|
||||
pid = fork();
|
||||
if(pid < 0) {
|
||||
printf("init: fork failed\n");
|
||||
|
|
Loading…
Reference in a new issue