I would recommend two options and break this into two steps or concepts.
(1) A new option removes default servers. This option is independent of
option 2. For implementation, an inline awk script might have more
robust syntax then sed. (2) Current list server option adds servers to
the list. E
Hi Philip,
Am Dienstag, 25. Juli 2017, 10:29:06 CEST schrieb Philip Prindeville:
> I’m working on Issue #4588 (ntpd needs UCI parsing comparable to sysntpd)
> and I had a question…
>
> ntpd ships with the canned /etc/ntp.conf from the distro, but if we specify:
>
>
> config timeserver ntp
>
Hi Philip
On 25.07.2017 18:29, Philip Prindeville wrote:
I’m guessing I’d need a sed script with a loop to gather all of the ‘server’
lines and replace them with one.
Or am I missing something obvious?
I think you are. Look at Dnsmasq and OpenVPN for two examples of UCI
config integration.