2017-07-08 13:00:08 +02:00
|
|
|
From: Tim Niemeyer <tim@tn-x.org>
|
|
|
|
Date: Sat, 8 Jul 2017 10:47:56 +0200
|
2020-05-17 00:52:32 +02:00
|
|
|
Subject: ntpd host as string
|
2017-07-08 13:00:08 +02:00
|
|
|
|
|
|
|
diff --git a/package/utils/busybox/files/sysntpd b/package/utils/busybox/files/sysntpd
|
2020-05-17 00:52:32 +02:00
|
|
|
index 52866ba32acd26a490f9c9024fc3e43e0f757496..b6b28cd02527b89c0a4cc2f9adef52bb4c8427b0 100755
|
2017-07-08 13:00:08 +02:00
|
|
|
--- a/package/utils/busybox/files/sysntpd
|
|
|
|
+++ b/package/utils/busybox/files/sysntpd
|
2017-02-17 08:06:53 +01:00
|
|
|
@@ -30,7 +30,7 @@ get_dhcp_ntp_servers() {
|
2017-01-06 16:43:30 +01:00
|
|
|
|
|
|
|
validate_ntp_section() {
|
2020-01-05 17:39:27 +01:00
|
|
|
uci_load_validate system timeserver "$1" "$2" \
|
2017-02-17 08:06:53 +01:00
|
|
|
- 'server:list(host)' 'enabled:bool:1' 'enable_server:bool:0' 'use_dhcp:bool:1' 'dhcp_interface:list(string)'
|
|
|
|
+ 'server:list(string)' 'enabled:bool:1' 'enable_server:bool:0' 'use_dhcp:bool:1' 'dhcp_interface:list(string)'
|
2017-01-06 16:43:30 +01:00
|
|
|
}
|
|
|
|
|
2020-01-05 17:39:27 +01:00
|
|
|
start_ntpd_instance() {
|