luci-app-nut: use filesystem dependencies for configuration files
authorJo-Philipp Wich <jo@mein.io>
Sat, 15 Oct 2022 12:18:57 +0000 (14:18 +0200)
committerJo-Philipp Wich <jo@mein.io>
Sat, 15 Oct 2022 12:18:57 +0000 (14:18 +0200)
commitbfc0fcfe6e97b1b39317f42d96debf3286c42696
treed7909948633b2d4ec968c28c331dc2d67fc33caf
parent5c3001345b3ea46494fcbf991335e0eb80196db5
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 <jo@mein.io>
applications/luci-app-nut/root/usr/share/luci/menu.d/luci-app-nut.json