diff options
| author | "Vladimir N. Oleynik" <dzo@simtreas.ru> | 2006-01-25 14:19:11 +0000 |
|---|---|---|
| committer | "Vladimir N. Oleynik" <dzo@simtreas.ru> | 2006-01-25 14:19:11 +0000 |
| commit | 7b4aa6ffc6a412ebc12cda823d0631abcda6a55f (patch) | |
| tree | ca353b1b80613aaecbde67780f8c6039af236a4d /include | |
| parent | 8aa9e5714932b0e1a9f4b638e2d985faa7e4d911 (diff) | |
| download | busybox-w32-7b4aa6ffc6a412ebc12cda823d0631abcda6a55f.tar.gz busybox-w32-7b4aa6ffc6a412ebc12cda823d0631abcda6a55f.tar.bz2 busybox-w32-7b4aa6ffc6a412ebc12cda823d0631abcda6a55f.zip | |
new applet. Thanks Roberto A. Foglietta
Diffstat (limited to 'include')
| -rw-r--r-- | include/applets.h | 3 | ||||
| -rw-r--r-- | include/usage.h | 11 |
2 files changed, 14 insertions, 0 deletions
diff --git a/include/applets.h b/include/applets.h index c6f54e157..1fb279ffa 100644 --- a/include/applets.h +++ b/include/applets.h | |||
| @@ -164,6 +164,9 @@ | |||
| 164 | #ifdef CONFIG_DMESG | 164 | #ifdef CONFIG_DMESG |
| 165 | APPLET(dmesg, dmesg_main, _BB_DIR_BIN, _BB_SUID_NEVER) | 165 | APPLET(dmesg, dmesg_main, _BB_DIR_BIN, _BB_SUID_NEVER) |
| 166 | #endif | 166 | #endif |
| 167 | #ifdef CONFIG_DNSD | ||
| 168 | APPLET(dnsd, dnsd_main, _BB_DIR_USR_SBIN, _BB_SUID_ALWAYS) | ||
| 169 | #endif | ||
| 167 | #ifdef CONFIG_DOS2UNIX | 170 | #ifdef CONFIG_DOS2UNIX |
| 168 | APPLET(dos2unix, dos2unix_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER) | 171 | APPLET(dos2unix, dos2unix_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER) |
| 169 | #endif | 172 | #endif |
diff --git a/include/usage.h b/include/usage.h index bff187a3d..61fc3af3c 100644 --- a/include/usage.h +++ b/include/usage.h | |||
| @@ -469,6 +469,17 @@ | |||
| 469 | "\t-n LEVEL\tSets console logging level\n" \ | 469 | "\t-n LEVEL\tSets console logging level\n" \ |
| 470 | "\t-s SIZE\t\tUse a buffer of size SIZE" | 470 | "\t-s SIZE\t\tUse a buffer of size SIZE" |
| 471 | 471 | ||
| 472 | #define dnsd_trivial_usage \ | ||
| 473 | "[-c config] [-t seconds] [-p port] [-i iface-ip] [-d]" | ||
| 474 | #define dnsd_full_usage \ | ||
| 475 | "Small and static DNS server daemon\n\n" \ | ||
| 476 | "Options:\n" \ | ||
| 477 | "\t-c\t\tconfig filename\n" \ | ||
| 478 | "\t-t\t\tTTL in seconds\n" \ | ||
| 479 | "\t-p\t\tlistening port\n" \ | ||
| 480 | "\t-i\t\tlistening iface ip (default all)\n" \ | ||
| 481 | "\t-d\t\tdaemonize" | ||
| 482 | |||
| 472 | #define dos2unix_trivial_usage \ | 483 | #define dos2unix_trivial_usage \ |
| 473 | "[option] [FILE]" | 484 | "[option] [FILE]" |
| 474 | #define dos2unix_full_usage \ | 485 | #define dos2unix_full_usage \ |
