diff options
author | Rob Landley <rob@landley.net> | 2005-10-28 13:05:12 +0000 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2005-10-28 13:05:12 +0000 |
commit | aa87276bed8df4cdcd443f102b58d95c26be9c6d (patch) | |
tree | 4592b8c6be22d6bac7182f8b3304b3df56ca85f0 /include | |
parent | 30c7de068b50de999b0b73a22e859dd2e9c23204 (diff) | |
download | busybox-w32-aa87276bed8df4cdcd443f102b58d95c26be9c6d.tar.gz busybox-w32-aa87276bed8df4cdcd443f102b58d95c26be9c6d.tar.bz2 busybox-w32-aa87276bed8df4cdcd443f102b58d95c26be9c6d.zip |
New applet, fuser, from Tony J. White. (Needs some cleanup.)
Diffstat (limited to 'include')
-rw-r--r-- | include/applets.h | 3 | ||||
-rw-r--r-- | include/usage.h | 10 |
2 files changed, 13 insertions, 0 deletions
diff --git a/include/applets.h b/include/applets.h index 883e55990..2b2c45d67 100644 --- a/include/applets.h +++ b/include/applets.h | |||
@@ -258,6 +258,9 @@ | |||
258 | #ifdef CONFIG_FTPPUT | 258 | #ifdef CONFIG_FTPPUT |
259 | APPLET(ftpput, ftpgetput_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER) | 259 | APPLET(ftpput, ftpgetput_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER) |
260 | #endif | 260 | #endif |
261 | #ifdef CONFIG_FUSER | ||
262 | APPLET(fuser, fuser_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER) | ||
263 | #endif | ||
261 | #ifdef CONFIG_GETOPT | 264 | #ifdef CONFIG_GETOPT |
262 | APPLET(getopt, getopt_main, _BB_DIR_BIN, _BB_SUID_NEVER) | 265 | APPLET(getopt, getopt_main, _BB_DIR_BIN, _BB_SUID_NEVER) |
263 | #endif | 266 | #endif |
diff --git a/include/usage.h b/include/usage.h index 69c50b97b..79a61d20a 100644 --- a/include/usage.h +++ b/include/usage.h | |||
@@ -841,6 +841,16 @@ | |||
841 | "\t-p, --password Password to be used\n" \ | 841 | "\t-p, --password Password to be used\n" \ |
842 | "\t-P, --port Port number to be used" | 842 | "\t-P, --port Port number to be used" |
843 | 843 | ||
844 | #define fuser_trivial_usage \ | ||
845 | "[options] file OR port/proto" | ||
846 | #define fuser_full_usage \ | ||
847 | "Options:\n" \ | ||
848 | "\t-m Show all processes on the same mounted fs\n" \ | ||
849 | "\t-k Kill all processes that match.\n" \ | ||
850 | "\t-s Don't print or kill anything.\n" \ | ||
851 | "\t-4 When using port/proto only search IPv4 space\n" \ | ||
852 | "\t-6 When using port/proto only search IPv6 space\n" \ | ||
853 | "\t-SIGNAL When used with -k, this signal will be used to kill\n" | ||
844 | #define getopt_trivial_usage \ | 854 | #define getopt_trivial_usage \ |
845 | "[OPTIONS]..." | 855 | "[OPTIONS]..." |
846 | #define getopt_full_usage \ | 856 | #define getopt_full_usage \ |