2020-01-05 17:39:27 +01:00
|
|
|
From bc184e5c95dd934ad8c9d41fb5449390b4e160d2 Mon Sep 17 00:00:00 2001
|
2017-07-08 13:00:08 +02:00
|
|
|
From: Tim Niemeyer <tim@tn-x.org>
|
|
|
|
Date: Sat, 8 Jul 2017 10:47:56 +0200
|
2018-10-17 18:36:09 +02:00
|
|
|
Subject: [PATCH 3/4] ntpd host as string
|
2017-07-08 13:00:08 +02:00
|
|
|
|
|
|
|
---
|
|
|
|
package/utils/busybox/files/sysntpd | 2 +-
|
|
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
|
|
|
|
diff --git a/package/utils/busybox/files/sysntpd b/package/utils/busybox/files/sysntpd
|
2020-01-05 17:39:27 +01:00
|
|
|
index 52866ba32a..b6b28cd025 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() {
|
2017-07-08 13:00:08 +02:00
|
|
|
--
|
2020-01-05 17:39:27 +01:00
|
|
|
2.25.1
|
2017-07-08 13:00:08 +02:00
|
|
|
|