luci-mod-system: add interface selection for NTPD
authorAlexey Dobrovolsky <[email protected]>
Wed, 4 May 2022 22:18:51 +0000 (01:18 +0300)
committerAlexey Dobrovolsky <[email protected]>
Tue, 10 May 2022 00:05:31 +0000 (03:05 +0300)
commit26fcbd5df2ce59b349fa3f250d6bddb66ebe242b
treea5f7060e6435b9168b78f5ee565b53d04aee5dcd
parent66994a580e97217daeca12e1c151973bbc41c386
luci-mod-system: add interface selection for NTPD

UCI option `interface` for sysntpd server was introduced in
OpenWrt commit 4da60500ebd2. NTP server binds to the specified interface,
or if unspecified, to all.

This patch adds selection widget to LuCI.

Signed-off-by: Alexey Dobrovolsky <[email protected]>
(cherry picked from commit 24ac5a2bf6d713c6878cf7be7d4e4516965c2884)
modules/luci-mod-system/htdocs/luci-static/resources/view/system/system.js