]> git.pld-linux.org Git - packages/SysVinit.git/blob - sysvinit-wall-n.patch
- release 22,
[packages/SysVinit.git] / sysvinit-wall-n.patch
1 --- sysvinit-2.78/man/wall.1.foo        Wed Jan 31 15:42:53 2001
2 +++ sysvinit-2.78/man/wall.1    Wed Jan 31 15:46:18 2001
3 @@ -3,6 +3,7 @@
4  wall -- send a message to everybody's terminal.
5  .SH SYNOPSIS
6  .B wall
7 +.RB [ \-n ]
8  .RB [ " message " ]
9  .SH DESCRIPTION
10  .B Wall
11 @@ -11,7 +12,12 @@
12  it can be sent to \fIwall\fP's standard input. When using the standard input
13  from a terminal, the message should be terminated with the \fBEOF\fP key
14  (usually Control-D).
15 +.SH OPTIONS
16 +.IP \fB\-n\fn
17 +Suppresses the normal banner, changing it to "Remote broadcast message"
18 +This option is only available to root, and is used by rpc.walld.
19  .SH SEE ALSO
20 -mesg(1).
21 +mesg(1),
22 +rpc.rwalld(8).
23  .SH AUTHOR
24  Miquel van Smoorenburg, miquels@cistron.nl
25 --- sysvinit-2.78/src/wall.c.foo        Wed Jan 31 15:41:33 2001
26 +++ sysvinit-2.78/src/wall.c    Wed Jan 31 15:40:40 2001
27 @@ -42,7 +42,8 @@
28                          *      Undocumented option for suppressing
29                          *      banner from rpc.rwalld.
30                          */
31 -                       remote = 1;
32 +                       if (getuid() == 0)
33 +                               remote = 1;
34                         break;
35                 default:
36                         fprintf(stderr, "usage: wall [message]\n");
This page took 0.181759 seconds and 3 git commands to generate.