diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/applets.h | 1 | ||||
| -rw-r--r-- | include/usage.h | 17 |
2 files changed, 18 insertions, 0 deletions
diff --git a/include/applets.h b/include/applets.h index 8d9d2a23b..63cc73867 100644 --- a/include/applets.h +++ b/include/applets.h | |||
| @@ -382,6 +382,7 @@ USE_TRACEROUTE(APPLET(traceroute, _BB_DIR_USR_BIN, _BB_SUID_MAYBE)) | |||
| 382 | USE_TRUE(APPLET_NOFORK(true, true, _BB_DIR_BIN, _BB_SUID_NEVER, true)) | 382 | USE_TRUE(APPLET_NOFORK(true, true, _BB_DIR_BIN, _BB_SUID_NEVER, true)) |
| 383 | USE_TTY(APPLET(tty, _BB_DIR_USR_BIN, _BB_SUID_NEVER)) | 383 | USE_TTY(APPLET(tty, _BB_DIR_USR_BIN, _BB_SUID_NEVER)) |
| 384 | USE_TTYSIZE(APPLET(ttysize, _BB_DIR_USR_BIN, _BB_SUID_NEVER)) | 384 | USE_TTYSIZE(APPLET(ttysize, _BB_DIR_USR_BIN, _BB_SUID_NEVER)) |
| 385 | USE_TUNCTL(APPLET(tunctl, _BB_DIR_SBIN, _BB_SUID_NEVER)) | ||
| 385 | //USE_TUNE2FS(APPLET(tune2fs, _BB_DIR_SBIN, _BB_SUID_NEVER)) | 386 | //USE_TUNE2FS(APPLET(tune2fs, _BB_DIR_SBIN, _BB_SUID_NEVER)) |
| 386 | USE_APP_UDHCPC(APPLET(udhcpc, _BB_DIR_SBIN, _BB_SUID_NEVER)) | 387 | USE_APP_UDHCPC(APPLET(udhcpc, _BB_DIR_SBIN, _BB_SUID_NEVER)) |
| 387 | USE_APP_UDHCPD(APPLET(udhcpd, _BB_DIR_USR_SBIN, _BB_SUID_NEVER)) | 388 | USE_APP_UDHCPD(APPLET(udhcpd, _BB_DIR_USR_SBIN, _BB_SUID_NEVER)) |
diff --git a/include/usage.h b/include/usage.h index 3b53602af..9ceb3664f 100644 --- a/include/usage.h +++ b/include/usage.h | |||
| @@ -4457,6 +4457,23 @@ | |||
| 4457 | #define ttysize_full_usage "\n\n" \ | 4457 | #define ttysize_full_usage "\n\n" \ |
| 4458 | "Print dimension(s) of standard input's terminal, on error return 80x25" | 4458 | "Print dimension(s) of standard input's terminal, on error return 80x25" |
| 4459 | 4459 | ||
| 4460 | #define tunctl_trivial_usage \ | ||
| 4461 | "[-f device] ([-t name] | -d name)" USE_FEATURE_TUNCTL_UG(" [-u owner] [-g group] [-b]") | ||
| 4462 | #define tunctl_full_usage "\n\n" \ | ||
| 4463 | "Create or delete tun interfaces" \ | ||
| 4464 | "\nOptions:" \ | ||
| 4465 | "\n -f name tun device (/dev/net/tun)" \ | ||
| 4466 | "\n -t name Create iface 'name'" \ | ||
| 4467 | "\n -d name Delete iface 'name'" \ | ||
| 4468 | USE_FEATURE_TUNCTL_UG( \ | ||
| 4469 | "\n -u owner Set iface owner" \ | ||
| 4470 | "\n -g group Set iface group" \ | ||
| 4471 | "\n -b Brief output" \ | ||
| 4472 | ) | ||
| 4473 | #define tunctl_example_usage \ | ||
| 4474 | "# tunctl\n" \ | ||
| 4475 | "# tunctl -d tun0\n" | ||
| 4476 | |||
| 4460 | #define tune2fs_trivial_usage \ | 4477 | #define tune2fs_trivial_usage \ |
| 4461 | "[-c max-mounts-count] [-e errors-behavior] [-g group] " \ | 4478 | "[-c max-mounts-count] [-e errors-behavior] [-g group] " \ |
| 4462 | "[-i interval[d|m|w]] [-j] [-J journal-options] [-l] [-s sparse-flag] " \ | 4479 | "[-i interval[d|m|w]] [-j] [-J journal-options] [-l] [-s sparse-flag] " \ |
