aboutsummaryrefslogtreecommitdiff
path: root/net/ntpd/files
Commit message (Collapse)AuthorAge
* ntpd: add config include supportFlorian Eckert2020-07-14
| | | | Signed-off-by: Florian Eckert <fe@dev.tdt.de>
* ntpd: create config_file directorySebastian Kemper2019-11-28
| | | | | | | | | | | ntpd's configuration is stored in /var/etc, but the init script doesn't create this directory. To be fair this folder is used by other packages as well, for instance dnsmasq. Still, it's better not to rely on other packages to create it. Fixes: #10636 Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
* ntpdate: use uci configured servers instead of static listKarl Palsson2019-07-02
| | | | | | | | If we're going to have a list of ntp servers, we should at least respect them. Fallback to the original static list if no configured servers are found. Signed-off-by: Karl Palsson <karlp@etactica.com>
* ntpd: Update init scriptJeffery To2019-02-26
| | | | | | | | | | | This replaces the use of uci_validate_section() with uci_load_validate(), which removes the need to declare local variables for every config option. This also moves the generated config file to /var/etc and adds a service_triggers() function. Signed-off-by: Jeffery To <jeffery.to@gmail.com>
* ntpd: remove ntp.confPeter Wagner2018-01-02
| | | | Signed-off-by: Peter Wagner <tripolar@gmx.at>
* ntpd: *mimic the behaviour of the busybox ntpd's "-S" flagPeter Wagner2018-01-02
| | | | *create a seperate line for every server, otherwise only the first listed server will be used
* ntpd: use UCI to synthesize minimal conf filePhilip Prindeville2017-07-27
| | | | | | Borrowed code from Busybox's sysntpd. Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
* ntpd: restart instead of killall and startPeter Wagner2017-03-06
| | | | Signed-off-by: Peter Wagner <tripolar@gmx.at>
* ntpd: only restart ntpd when the wan interface comes up and ntpd is enabledPeter Wagner2017-03-06
| | | | Signed-off-by: Peter Wagner <tripolar@gmx.at>
* ntpd: cleanup Makefile and hotplug scriptPeter Wagner2017-01-17
| | | | Signed-off-by: Peter Wagner <tripolar@gmx.at>
* ntpd: add hotplug script that signals when ntp reaches the stratum level ↵Peter Wagner2017-01-16
| | | | | | | | | like the sysntp implementation use ntpq to check the status of the ntp server as all other status scripts included in the ntp tarball are based on perl which would dramatically increase the footprint of ntpd Signed-off-by: Peter Wagner <tripolar@gmx.at>
* ntpd: fix typoPeter Wagner2015-04-13
| | | | Signed-off-by: Peter Wagner <tripolar@gmx.at>
* Currently the hotplug script never starts because it assumes the wrongPeter Wagner2015-04-13
| | | | | | | path to the binary. Fix the path. Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net> Signed-off-by: Peter Wagner <tripolar@gmx.at>
* generic userid: use the new USERID apiJohn Crispin2014-10-08
| | | | | | | | recent changes in trunk allow us to specify the userid inside the openwrt makefile. the info is stored int he meta data of the IPK contorl file and users are generated by the new generic postinst trigger. Signed-off-by: John Crispin <blogic@openwrt.org>
* ntpd: import from packagesPeter Wagner2014-06-16
Signed-off-by: Peter Wagner <tripolar@gmx.at>