Removed super loud PC speaker beep during shutdown.
Closes Debian bug #614893. Patch from Andreas Fackler.
This commit is contained in:
parent
d27e34754a
commit
ed85143837
@ -9,6 +9,10 @@ sysvinit (2.92) unreleased; urgency=low
|
|||||||
how -t and -n flags work.
|
how -t and -n flags work.
|
||||||
Updated the init manual page with the new default value.
|
Updated the init manual page with the new default value.
|
||||||
The updated documentation resolves Debian bug #375274.
|
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
|
sysvinit (2.91) world; urgency=low
|
||||||
|
@ -197,11 +197,11 @@ void wall(const char *text, int remote)
|
|||||||
|
|
||||||
if (remote) {
|
if (remote) {
|
||||||
snprintf(line, sizeof(line),
|
snprintf(line, sizeof(line),
|
||||||
"\007\r\nRemote broadcast message (%s):\r\n\r\n",
|
"\r\nRemote broadcast message (%s):\r\n\r\n",
|
||||||
date);
|
date);
|
||||||
} else {
|
} else {
|
||||||
snprintf(line, sizeof(line),
|
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);
|
user, hostname, tty, date);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -33,7 +33,6 @@
|
|||||||
#include "init.h"
|
#include "init.h"
|
||||||
|
|
||||||
|
|
||||||
char *Version = "@(#) wall 2.79 12-Sep-2000 miquels@cistron.nl";
|
|
||||||
#define MAXLEN 4096
|
#define MAXLEN 4096
|
||||||
#define MAXLINES 20
|
#define MAXLINES 20
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user