From 061c9001763f4a19d8104d5be61bbb09b50b1dae Mon Sep 17 00:00:00 2001 From: Glenn L McGrath Date: Mon, 16 Sep 2002 04:21:46 +0000 Subject: mesg applet by Manuel Novoa III --- include/applets.h | 3 +++ include/usage.h | 7 +++++++ 2 files changed, 10 insertions(+) (limited to 'include') diff --git a/include/applets.h b/include/applets.h index 38d7534..f6a8400 100644 --- a/include/applets.h +++ b/include/applets.h @@ -293,6 +293,9 @@ #ifdef CONFIG_MD5SUM APPLET(md5sum, md5sum_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER) #endif +#ifdef CONFIG_MESG + APPLET(mesg, mesg_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER) +#endif #ifdef CONFIG_MKDIR APPLET(mkdir, mkdir_main, _BB_DIR_BIN, _BB_SUID_NEVER) #endif diff --git a/include/usage.h b/include/usage.h index 98b81cf..ee69715 100644 --- a/include/usage.h +++ b/include/usage.h @@ -1149,6 +1149,13 @@ "busybox: OK\n" \ "^D\n" +#define mesg_trivial_usage \ + "mesg [y|n]" +#define mesg_full_usage \ + "mesg [Y|N], controls write access to your terminal\n" \ + "\ty\tAllow write access to your terminal.\n" \ + "\tn\tDisallow write access to your terminal.\n" + #define mkdir_trivial_usage \ "[OPTION] DIRECTORY..." #define mkdir_full_usage \ -- cgit v1.1