luci-mod-system: add interface selection for NTPD
authorAlexey Dobrovolsky <dobrovolskiy.alexey@gmail.com>
Wed, 4 May 2022 22:18:51 +0000 (01:18 +0300)
committerAlexey Dobrovolsky <dobrovolskiy.alexey@gmail.com>
Tue, 10 May 2022 00:10:35 +0000 (03:10 +0300)
commit21f99bde2ba4fcecf012bf4958995419acdc9135
tree6164169533fe23f496a3003c418d89bccfb639b7
parent9139ad468599b586dbd7ca48fe5a149c95f28800
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 <dobrovolskiy.alexey@gmail.com>
(cherry picked from commit 24ac5a2bf6d713c6878cf7be7d4e4516965c2884)
modules/luci-mod-system/htdocs/luci-static/resources/view/system/system.js