diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-06-20 15:23:03 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-06-20 15:23:03 +0000 |
commit | 14923db72fe6e97d9c596236841a9eb6338231db (patch) | |
tree | ad221dd5c71bb7eec7788c86af30ba4c933d9cc2 /include | |
parent | cd0e80ce902f6e79b31888af4ff4545846ce1c0e (diff) | |
download | busybox-w32-14923db72fe6e97d9c596236841a9eb6338231db.tar.gz busybox-w32-14923db72fe6e97d9c596236841a9eb6338231db.tar.bz2 busybox-w32-14923db72fe6e97d9c596236841a9eb6338231db.zip |
slattach: new applet.
Diffstat (limited to 'include')
-rw-r--r-- | include/applets.h | 1 | ||||
-rw-r--r-- | include/usage.h | 14 |
2 files changed, 15 insertions, 0 deletions
diff --git a/include/applets.h b/include/applets.h index 0f378bbeb..8a33f5432 100644 --- a/include/applets.h +++ b/include/applets.h | |||
@@ -296,6 +296,7 @@ USE_FEATURE_SH_IS_HUSH(APPLET_NOUSAGE(sh, hush, _BB_DIR_BIN, _BB_SUID_NEVER)) | |||
296 | USE_FEATURE_SH_IS_LASH(APPLET_NOUSAGE(sh, lash, _BB_DIR_BIN, _BB_SUID_NEVER)) | 296 | USE_FEATURE_SH_IS_LASH(APPLET_NOUSAGE(sh, lash, _BB_DIR_BIN, _BB_SUID_NEVER)) |
297 | USE_FEATURE_SH_IS_MSH(APPLET_NOUSAGE(sh, msh, _BB_DIR_BIN, _BB_SUID_NEVER)) | 297 | USE_FEATURE_SH_IS_MSH(APPLET_NOUSAGE(sh, msh, _BB_DIR_BIN, _BB_SUID_NEVER)) |
298 | USE_SHA1SUM(APPLET_ODDNAME(sha1sum, md5_sha1_sum, _BB_DIR_USR_BIN, _BB_SUID_NEVER, sha1sum)) | 298 | USE_SHA1SUM(APPLET_ODDNAME(sha1sum, md5_sha1_sum, _BB_DIR_USR_BIN, _BB_SUID_NEVER, sha1sum)) |
299 | USE_SLATTACH(APPLET(slattach, _BB_DIR_SBIN, _BB_SUID_NEVER)) | ||
299 | USE_SLEEP(APPLET_NOFORK(sleep, sleep, _BB_DIR_BIN, _BB_SUID_NEVER, sleep)) | 300 | USE_SLEEP(APPLET_NOFORK(sleep, sleep, _BB_DIR_BIN, _BB_SUID_NEVER, sleep)) |
300 | USE_SOFTLIMIT(APPLET_ODDNAME(softlimit, chpst, _BB_DIR_USR_BIN, _BB_SUID_NEVER, softlimit)) | 301 | USE_SOFTLIMIT(APPLET_ODDNAME(softlimit, chpst, _BB_DIR_USR_BIN, _BB_SUID_NEVER, softlimit)) |
301 | USE_SORT(APPLET_NOEXEC(sort, sort, _BB_DIR_USR_BIN, _BB_SUID_NEVER, sort)) | 302 | USE_SORT(APPLET_NOEXEC(sort, sort, _BB_DIR_USR_BIN, _BB_SUID_NEVER, sort)) |
diff --git a/include/usage.h b/include/usage.h index 7d09feb05..2baa495ac 100644 --- a/include/usage.h +++ b/include/usage.h | |||
@@ -2991,6 +2991,20 @@ USE_FEATURE_RUN_PARTS_FANCY("\n -l Prints names of all matching files even when | |||
2991 | " -s Don't output anything, status code shows success\n" \ | 2991 | " -s Don't output anything, status code shows success\n" \ |
2992 | " -w Warn about improperly formatted SHA1 checksum lines") | 2992 | " -w Warn about improperly formatted SHA1 checksum lines") |
2993 | 2993 | ||
2994 | #define slattach_trivial_usage \ | ||
2995 | "[-cehmLF] [-s speed] [-p protocol] DEVICEs" | ||
2996 | #define slattach_full_usage \ | ||
2997 | "Attach network interface(s) to serial line(s)\n" \ | ||
2998 | "\nOptions:" \ | ||
2999 | "\n -p Set protocol (slip, cslip, slip6, clisp6 or adaptive)" \ | ||
3000 | "\n -s Set line speed" \ | ||
3001 | "\n -e Exit after initializing device" \ | ||
3002 | "\n -h Exit when the carrier is lost" \ | ||
3003 | "\n -c Execute a command when the line is hung up" \ | ||
3004 | "\n -m Do NOT initialize the line in raw 8 bits mode" \ | ||
3005 | "\n -L Enable 3-wire operation" \ | ||
3006 | "\n -F Disable RTS/CTS flow control" \ | ||
3007 | |||
2994 | #define sleep_trivial_usage \ | 3008 | #define sleep_trivial_usage \ |
2995 | USE_FEATURE_FANCY_SLEEP("[") "N" USE_FEATURE_FANCY_SLEEP("]...") | 3009 | USE_FEATURE_FANCY_SLEEP("[") "N" USE_FEATURE_FANCY_SLEEP("]...") |
2996 | #define sleep_full_usage \ | 3010 | #define sleep_full_usage \ |