Peter Wagner
c6035be89a
ntpd: remove ntp.conf
Signed-off-by: Peter Wagner <tripolar@gmx.at>
7 years ago
Peter Wagner
04654291a4
ntpd: *mimic the behaviour of the busybox ntpd's "-S" flag
*create a seperate line for every server, otherwise only the first listed server will be used
7 years ago
Philip Prindeville
f5ca3ea50f
ntpd: use UCI to synthesize minimal conf file
Borrowed code from Busybox's sysntpd.
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
8 years ago
Peter Wagner
325bba7095
ntpd: restart instead of killall and start
Signed-off-by: Peter Wagner <tripolar@gmx.at>
8 years ago
Peter Wagner
228764bfe8
ntpd: only restart ntpd when the wan interface comes up and ntpd is enabled
Signed-off-by: Peter Wagner <tripolar@gmx.at>
8 years ago
Peter Wagner
fe80861f7c
ntpd: cleanup Makefile and hotplug script
Signed-off-by: Peter Wagner <tripolar@gmx.at>
8 years ago
Peter Wagner
d5b4f5bd72
ntpd: add hotplug script that signals when ntp reaches the stratum level 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>
8 years ago
Peter Wagner
0135d8e2bd
ntpd: fix typo
Signed-off-by: Peter Wagner <tripolar@gmx.at>
10 years ago
Peter Wagner
2c1c2de230
Currently the hotplug script never starts because it assumes the wrong
path to the binary. Fix the path.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
Signed-off-by: Peter Wagner <tripolar@gmx.at>
10 years ago
John Crispin
d4042ec35e
generic userid: use the new USERID api
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>
10 years ago
Peter Wagner
d5dd6b3c31
ntpd: import from packages
Signed-off-by: Peter Wagner <tripolar@gmx.at>
11 years ago