aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
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 \