summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/applets.h1
-rw-r--r--include/usage.h11
2 files changed, 12 insertions, 0 deletions
diff --git a/include/applets.h b/include/applets.h
index 15ccf9c..a2d1e95 100644
--- a/include/applets.h
+++ b/include/applets.h
@@ -285,6 +285,7 @@ IF_NICE(APPLET(nice, _BB_DIR_BIN, _BB_SUID_DROP))
IF_NMETER(APPLET(nmeter, _BB_DIR_USR_BIN, _BB_SUID_DROP))
IF_NOHUP(APPLET(nohup, _BB_DIR_USR_BIN, _BB_SUID_DROP))
IF_NSLOOKUP(APPLET(nslookup, _BB_DIR_USR_BIN, _BB_SUID_DROP))
+IF_NTPD(APPLET(ntpd, _BB_DIR_USR_SBIN, _BB_SUID_DROP))
IF_OD(APPLET(od, _BB_DIR_USR_BIN, _BB_SUID_DROP))
IF_OPENVT(APPLET(openvt, _BB_DIR_USR_BIN, _BB_SUID_DROP))
//IF_PARSE(APPLET(parse, _BB_DIR_USR_BIN, _BB_SUID_DROP))
diff --git a/include/usage.h b/include/usage.h
index eae9650..3ccf160 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -3210,6 +3210,17 @@
"Name: debian\n" \
"Address: 127.0.0.1\n"
+#define ntpd_trivial_usage \
+ "[-dngl] [-p PEER]..."
+#define ntpd_full_usage "\n\n" \
+ "NTP client/server\n" \
+ "\nOptions:" \
+ "\n -d Verbose" \
+ "\n -n Do not daemonize" \
+ "\n -g Set system time even if offset is > 1000 sec" \
+ "\n -l Run as server on port 123" \
+ "\n -p PEER Obtain time from PEER (may be repeated)" \
+
#define od_trivial_usage \
"[-aBbcDdeFfHhIiLlOovXx] " IF_DESKTOP("[-t TYPE] ") "[FILE]"
#define od_full_usage "\n\n" \