aboutsummaryrefslogtreecommitdiff
path: root/util-linux/rdate.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2016-11-23 11:46:32 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2016-11-23 11:46:32 +0100
commitdd898c9f3388fca1d7339a45150fbb7406de0971 (patch)
treef9f498c9d86c26bd208acc687c5f29b451927ce3 /util-linux/rdate.c
parente5dd71f94f8691c41382b89de35088695cca34b9 (diff)
downloadbusybox-w32-dd898c9f3388fca1d7339a45150fbb7406de0971.tar.gz
busybox-w32-dd898c9f3388fca1d7339a45150fbb7406de0971.tar.bz2
busybox-w32-dd898c9f3388fca1d7339a45150fbb7406de0971.zip
Convert all util-linux/* applets to "new style" applet definitions
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'util-linux/rdate.c')
-rw-r--r--util-linux/rdate.c14
1 files changed, 13 insertions, 1 deletions
diff --git a/util-linux/rdate.c b/util-linux/rdate.c
index 8075ef6af..8dd784d3d 100644
--- a/util-linux/rdate.c
+++ b/util-linux/rdate.c
@@ -6,7 +6,19 @@
6 * by Sterling Huxley <sterling@europa.com> 6 * by Sterling Huxley <sterling@europa.com>
7 * 7 *
8 * Licensed under GPLv2 or later, see file LICENSE in this source tree. 8 * Licensed under GPLv2 or later, see file LICENSE in this source tree.
9*/ 9 */
10//config:config RDATE
11//config: bool "rdate"
12//config: default y
13//config: help
14//config: The rdate utility allows you to synchronize the date and time of your
15//config: system clock with the date and time of a remote networked system using
16//config: the RFC868 protocol, which is built into the inetd daemon on most
17//config: systems.
18
19//applet:IF_RDATE(APPLET(rdate, BB_DIR_USR_SBIN, BB_SUID_DROP))
20
21//kbuild:lib-$(CONFIG_RDATE) += rdate.o
10 22
11//usage:#define rdate_trivial_usage 23//usage:#define rdate_trivial_usage
12//usage: "[-sp] HOST" 24//usage: "[-sp] HOST"