diff options
author | Denys Vlasenko <dvlasenk@redhat.com> | 2010-10-12 15:47:15 +0400 |
---|---|---|
committer | Denys Vlasenko <dvlasenk@redhat.com> | 2010-10-12 15:47:15 +0400 |
commit | b1db09be5a19f814ed5dc7e0ab095c3355926da6 (patch) | |
tree | 382ba65d4a9194cb1b694e4240a0cf005bf567f1 /init/mesg.c | |
parent | d4d289acf5eb59ebae414f9aae8a74de30dce36a (diff) |
init/*: move applet/kbuild/config/help bits into applet source files
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
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 @@ * Licensed under GPLv2 or later, see file LICENSE in this source tree. */ +//applet:IF_MESG(APPLET(mesg, _BB_DIR_USR_BIN, _BB_SUID_DROP)) + +//kbuild:lib-$(CONFIG_MESG) += mesg.o + +//config:config MESG +//config: bool "mesg" +//config: default y +//config: help +//config: Mesg controls access to your terminal by others. It is typically +//config: used to allow or disallow other users to write to your terminal + +//usage:#define mesg_trivial_usage +//usage: "[y|n]" +//usage:#define mesg_full_usage "\n\n" +//usage: "Control write access to your terminal\n" +//usage: " y Allow write access to your terminal\n" +//usage: " n Disallow write access to your terminal" + #include "libbb.h" #ifdef USE_TTY_GROUP |