11 Commits (d3354d1aac48e9b6e95aac28d23b7bf2fc43c10a)

Author SHA1 Message Date
Steven Barth 016d6acde5 ntp: add hotplug class for ntp-events 10 years ago
John Crispin 2ae05c57f8 package/*: remove useless explicit set of function returncode 10 years ago
Luka Perkov 9dd205b2ad busybox: fix validation in sysntpd init script 11 years ago
John Crispin a51588a5f9 busybox: use ntp enabled config option 11 years ago
Felix Fietkau f960a1fdb0 busybox: fix processing of multiple NTP servers in the config (#15294) 11 years ago
Jo-Philipp Wich 1527f96ca6 busybox: do not abort sysntpd init if enable_server is unset, that variable just controls the server part for relaying NTP 11 years ago
John Crispin a9cfb4b827 procd: fixup 2 wrong option types 11 years ago
John Crispin 1f93857092 procd: convert services to the new validation api 11 years ago
Luka Perkov ef5f836207 fix various init scripts 11 years ago
John Crispin f874094402 procd: convert various packages to procd style init.d scripts 11 years ago
Jo-Philipp Wich c5b4d98d39 busybox: rename ntp init script back to sysntpd (#13920) 11 years ago
Luka Perkov 67f1d364b8 base-files/busybox: move ntpd init script from base-files to busybox 11 years ago
John Crispin 8069d87d3c base-files: convert sysntpd init script to procd 12 years ago
Jo-Philipp Wich 3c4165a305 enable ntpd server for busybox 13 years ago
Nicolas Thill 93886bc776 package/base-files: use new service wrapper 13 years ago
Jo-Philipp Wich 272d95f0f1 base-files: remove rdate integration, add busybox ntpd init script and server list in /etc/config/system The rdate applet proved to be too unreliable to obtain the current time on boot: - public time servers are rare and often unreachable or overloaded - rdate does not daemonize, it needs a network connection the moment it is started, leading to race conditions - the /etc/config/timeserver configuration is overly complex and there is no reliable way to disable rdate invocations - the time protocol as specified in RFC 868 is considered obsolete This commit adds an init script /etc/init.d/sysntpd which starts and stops the busybox ntpd accordingly. The builtin ntpd can be disabled by either disabling the init script, removing the symlink to busybox or by clearing the timeserver list in /etc/config/system. 13 years ago