ntpd: add optional support for /etc/ntp.conf

function                                             old     new   delta
add_peers                                              -      98     +98
packed_usage                                       29470   29511     +41
ntp_init                                             407     428     +21
pw_encrypt                                            14      27     +13
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 3/0 up/down: 173/0)             Total: 173 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko
2014-03-23 15:06:38 +01:00
parent f332617fbd
commit 504fe45f35
2 changed files with 39 additions and 4 deletions

View File

@@ -664,6 +664,14 @@ config FEATURE_NTPD_SERVER
Make ntpd usable as a NTP server. If you disable this option
ntpd will be usable only as a NTP client.
config FEATURE_NTPD_CONF
bool "Make ntpd understand /etc/ntp.conf"
default y
depends on NTPD
help
Make ntpd look in /etc/ntp.conf for peers. Only "server address"
is supported.
config PSCAN
bool "pscan"
default y