diff options
author | Glenn L McGrath | 2002-09-16 04:21:46 +0000 |
---|---|---|
committer | Glenn L McGrath | 2002-09-16 04:21:46 +0000 |
commit | 061c9001763f4a19d8104d5be61bbb09b50b1dae (patch) | |
tree | 3942c0a93b5e11fbb838777dba8d3002b17c2583 /include | |
parent | ebdc8b48a563615f6e0b08bdf2c91241fed669e0 (diff) | |
download | busybox-061c9001763f4a19d8104d5be61bbb09b50b1dae.zip busybox-061c9001763f4a19d8104d5be61bbb09b50b1dae.tar.gz |
mesg applet by Manuel Novoa III
Diffstat (limited to 'include')
-rw-r--r-- | include/applets.h | 3 | ||||
-rw-r--r-- | include/usage.h | 7 |
2 files changed, 10 insertions, 0 deletions
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 \ |