diff options
Diffstat (limited to 'init/mesg.c')
-rw-r--r-- | init/mesg.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/init/mesg.c b/init/mesg.c index ef5f0eb66..b560df205 100644 --- a/init/mesg.c +++ b/init/mesg.c | |||
@@ -7,6 +7,24 @@ | |||
7 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. | 7 | * Licensed under GPLv2 or later, see file LICENSE in this source tree. |
8 | */ | 8 | */ |
9 | 9 | ||
10 | //applet:IF_MESG(APPLET(mesg, _BB_DIR_USR_BIN, _BB_SUID_DROP)) | ||
11 | |||
12 | //kbuild:lib-$(CONFIG_MESG) += mesg.o | ||
13 | |||
14 | //config:config MESG | ||
15 | //config: bool "mesg" | ||
16 | //config: default y | ||
17 | //config: help | ||
18 | //config: Mesg controls access to your terminal by others. It is typically | ||
19 | //config: used to allow or disallow other users to write to your terminal | ||
20 | |||
21 | //usage:#define mesg_trivial_usage | ||
22 | //usage: "[y|n]" | ||
23 | //usage:#define mesg_full_usage "\n\n" | ||
24 | //usage: "Control write access to your terminal\n" | ||
25 | //usage: " y Allow write access to your terminal\n" | ||
26 | //usage: " n Disallow write access to your terminal" | ||
27 | |||
10 | #include "libbb.h" | 28 | #include "libbb.h" |
11 | 29 | ||
12 | #ifdef USE_TTY_GROUP | 30 | #ifdef USE_TTY_GROUP |