Don't beep (print bell characters) on rebooting
This commit is contained in:
parent
eedca63a05
commit
7852300ec2
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ char *extra; /* If non-nil, why is the shutdown */
|
|||
|
||||
time(&now);
|
||||
if (uname(&utsname) != 0) strcpy(utsname.nodename, "?");
|
||||
sprintf(message, "\r\nBroadcast message from %s@%s (%s)\r\n%.24s...\007\007\007\r\n",
|
||||
sprintf(message, "\r\nBroadcast message from %s@%s (%s)\r\n%.24s...\r\n",
|
||||
ourname, utsname.nodename, ourtty, ctime(&now));
|
||||
|
||||
crnlcat(message, when);
|
||||
|
|
Loading…
Reference in a new issue