diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2016-11-23 09:05:14 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2016-11-23 09:05:14 +0100 |
commit | 47367e1d50b81501e8a6ce215f8be4eeacdda693 (patch) | |
tree | 28be64a4a758a274ef2459628ec29384722cd3fb /networking/ntpd.c | |
parent | e32b64c4ec9272295df6852fb2a2888d7799d2f0 (diff) | |
download | busybox-w32-47367e1d50b81501e8a6ce215f8be4eeacdda693.tar.gz busybox-w32-47367e1d50b81501e8a6ce215f8be4eeacdda693.tar.bz2 busybox-w32-47367e1d50b81501e8a6ce215f8be4eeacdda693.zip |
Convert all networking/* applets to "new style" applet definitions
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/ntpd.c')
-rw-r--r-- | networking/ntpd.c | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/networking/ntpd.c b/networking/ntpd.c index 8ca62cf1b..b7fa5dce9 100644 --- a/networking/ntpd.c +++ b/networking/ntpd.c | |||
@@ -40,6 +40,32 @@ | |||
40 | * purpose. It is provided "as is" without express or implied warranty. | 40 | * purpose. It is provided "as is" without express or implied warranty. |
41 | *********************************************************************** | 41 | *********************************************************************** |
42 | */ | 42 | */ |
43 | //config:config NTPD | ||
44 | //config: bool "ntpd" | ||
45 | //config: default y | ||
46 | //config: select PLATFORM_LINUX | ||
47 | //config: help | ||
48 | //config: The NTP client/server daemon. | ||
49 | //config: | ||
50 | //config:config FEATURE_NTPD_SERVER | ||
51 | //config: bool "Make ntpd usable as a NTP server" | ||
52 | //config: default y | ||
53 | //config: depends on NTPD | ||
54 | //config: help | ||
55 | //config: Make ntpd usable as a NTP server. If you disable this option | ||
56 | //config: ntpd will be usable only as a NTP client. | ||
57 | //config: | ||
58 | //config:config FEATURE_NTPD_CONF | ||
59 | //config: bool "Make ntpd understand /etc/ntp.conf" | ||
60 | //config: default y | ||
61 | //config: depends on NTPD | ||
62 | //config: help | ||
63 | //config: Make ntpd look in /etc/ntp.conf for peers. Only "server address" | ||
64 | //config: is supported. | ||
65 | |||
66 | //applet:IF_NTPD(APPLET(ntpd, BB_DIR_USR_SBIN, BB_SUID_DROP)) | ||
67 | |||
68 | //kbuild:lib-$(CONFIG_NTPD) += ntpd.o | ||
43 | 69 | ||
44 | //usage:#define ntpd_trivial_usage | 70 | //usage:#define ntpd_trivial_usage |
45 | //usage: "[-dnqNw"IF_FEATURE_NTPD_SERVER("l -I IFACE")"] [-S PROG] [-p PEER]..." | 71 | //usage: "[-dnqNw"IF_FEATURE_NTPD_SERVER("l -I IFACE")"] [-S PROG] [-p PEER]..." |