wall: new applet

text	   data	    bss	    dec	    hex	filename
     81	      0	      0	     81	     51	miscutils/wall.o

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Bernhard Reutner-Fischer
2009-10-26 23:29:03 +01:00
committed by Denys Vlasenko
parent a48308701a
commit e039e689e3
6 changed files with 53 additions and 0 deletions

View File

@@ -417,6 +417,7 @@ IF_VCONFIG(APPLET(vconfig, _BB_DIR_SBIN, _BB_SUID_DROP))
IF_VI(APPLET(vi, _BB_DIR_BIN, _BB_SUID_DROP))
IF_VLOCK(APPLET(vlock, _BB_DIR_USR_BIN, _BB_SUID_REQUIRE))
IF_VOLNAME(APPLET(volname, _BB_DIR_USR_BIN, _BB_SUID_DROP))
IF_WALL(APPLET(wall, _BB_DIR_USR_BIN, _BB_SUID_REQUIRE))
IF_WATCH(APPLET(watch, _BB_DIR_BIN, _BB_SUID_DROP))
IF_WATCHDOG(APPLET(watchdog, _BB_DIR_SBIN, _BB_SUID_DROP))
IF_WC(APPLET(wc, _BB_DIR_USR_BIN, _BB_SUID_DROP))

View File

@@ -4950,6 +4950,14 @@
#define volname_full_usage "\n\n" \
"Show CD volume name of the DEVICE (default /dev/cdrom)"
#define wall_trivial_usage \
"[file]"
#define wall_full_usage "\n\n" \
"Write content of file or standard-input to all logged-in users"
#define wall_sample_usage \
"echo foo | wall\n" \
"wall ./mymessage"
#define watch_trivial_usage \
"[-n seconds] [-t] PROG [ARGS]"
#define watch_full_usage "\n\n" \