mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 00:47:45 +00:00
Userland: Remove the /bin/sh greeting. It was cute but spammy.
This commit is contained in:
parent
8b64f213a1
commit
6071a77e8e
1 changed files with 0 additions and 13 deletions
|
@ -348,17 +348,6 @@ static int runcmd(char* cmd)
|
||||||
return retval;
|
return retval;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void greeting()
|
|
||||||
{
|
|
||||||
utsname uts;
|
|
||||||
int rc = uname(&uts);
|
|
||||||
if (rc < 0) {
|
|
||||||
perror("uname");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
printf("\n%s/%s on %s\n\n", uts.sysname, uts.machine, g->ttyname);
|
|
||||||
}
|
|
||||||
|
|
||||||
int main(int argc, char** argv)
|
int main(int argc, char** argv)
|
||||||
{
|
{
|
||||||
g = new GlobalState;
|
g = new GlobalState;
|
||||||
|
@ -396,8 +385,6 @@ int main(int argc, char** argv)
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
greeting();
|
|
||||||
|
|
||||||
char linebuf[128];
|
char linebuf[128];
|
||||||
int linedx = 0;
|
int linedx = 0;
|
||||||
linebuf[0] = '\0';
|
linebuf[0] = '\0';
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue