luci-app-nut: use filesystem dependencies for configuration files
authorJo-Philipp Wich <[email protected]>
Sat, 15 Oct 2022 12:18:57 +0000 (14:18 +0200)
committerJo-Philipp Wich <[email protected]>
Sat, 15 Oct 2022 12:23:10 +0000 (14:23 +0200)
commitbba2f72500eef39dc04584c6a3c4c962ffaa0e4d
tree3321dacf11760e10b9ae220328595f77effac0fe
parent3923199f8e0e746929a8804c43f9064283b9f785
luci-app-nut: use filesystem dependencies for configuration files

Don't use uci dependencies for nut related config files as the nut packages
ship with completely commented out uci files. Such files do not satisfy the
uci menu dependencies as those expect at least one section within the file.

To solve this issue, use a regular file dependency on /etc/config/nut_*
instead.

Supersedes: #5964
Signed-off-by: Jo-Philipp Wich <[email protected]>
(cherry picked from commit bfc0fcfe6e97b1b39317f42d96debf3286c42696)
applications/luci-app-nut/root/usr/share/luci/menu.d/luci-app-nut.json