Removed super loud PC speaker beep during shutdown.

Closes Debian bug #614893. Patch from Andreas Fackler.
This commit is contained in:
Jesse Smith 2018-10-22 22:03:09 -03:00
parent d27e34754a
commit ed85143837
3 changed files with 6 additions and 3 deletions

View File

@ -9,6 +9,10 @@ sysvinit (2.92) unreleased; urgency=low
how -t and -n flags work.
Updated the init manual page with the new default value.
The updated documentation resolves Debian bug #375274.
* Remove PC speaker beep from shutdown process in dowall.c.
Closes Debian bug #614893.
Patch provided by Andreas Fackler.
* Removed unused Version variable from wall.c.
sysvinit (2.91) world; urgency=low

View File

@ -197,11 +197,11 @@ void wall(const char *text, int remote)
if (remote) {
snprintf(line, sizeof(line),
"\007\r\nRemote broadcast message (%s):\r\n\r\n",
"\r\nRemote broadcast message (%s):\r\n\r\n",
date);
} else {
snprintf(line, sizeof(line),
"\007\r\nBroadcast message from %s@%s %s(%s):\r\n\r\n",
"\r\nBroadcast message from %s@%s %s(%s):\r\n\r\n",
user, hostname, tty, date);
}

View File

@ -33,7 +33,6 @@
#include "init.h"
char *Version = "@(#) wall 2.79 12-Sep-2000 miquels@cistron.nl";
#define MAXLEN 4096
#define MAXLINES 20