aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGravatar "Vladimir N. Oleynik" <dzo@simtreas.ru>2006-01-25 14:19:11 +0000
committerGravatar "Vladimir N. Oleynik" <dzo@simtreas.ru>2006-01-25 14:19:11 +0000
commit7b4aa6ffc6a412ebc12cda823d0631abcda6a55f (patch)
treeca353b1b80613aaecbde67780f8c6039af236a4d /include
parent8aa9e5714932b0e1a9f4b638e2d985faa7e4d911 (diff)
downloadbusybox-7b4aa6ffc6a412ebc12cda823d0631abcda6a55f.tar.gz
busybox-7b4aa6ffc6a412ebc12cda823d0631abcda6a55f.tar.bz2
new applet. Thanks Roberto A. Foglietta
Diffstat (limited to 'include')
-rw-r--r--include/applets.h3
-rw-r--r--include/usage.h11
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 @@
#ifdef CONFIG_DMESG
APPLET(dmesg, dmesg_main, _BB_DIR_BIN, _BB_SUID_NEVER)
#endif
+#ifdef CONFIG_DNSD
+ APPLET(dnsd, dnsd_main, _BB_DIR_USR_SBIN, _BB_SUID_ALWAYS)
+#endif
#ifdef CONFIG_DOS2UNIX
APPLET(dos2unix, dos2unix_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
#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 @@
"\t-n LEVEL\tSets console logging level\n" \
"\t-s SIZE\t\tUse a buffer of size SIZE"
+#define dnsd_trivial_usage \
+ "[-c config] [-t seconds] [-p port] [-i iface-ip] [-d]"
+#define dnsd_full_usage \
+ "Small and static DNS server daemon\n\n" \
+ "Options:\n" \
+ "\t-c\t\tconfig filename\n" \
+ "\t-t\t\tTTL in seconds\n" \
+ "\t-p\t\tlistening port\n" \
+ "\t-i\t\tlistening iface ip (default all)\n" \
+ "\t-d\t\tdaemonize"
+
#define dos2unix_trivial_usage \
"[option] [FILE]"
#define dos2unix_full_usage \