luci-mod-network: prevent double key for menu JSON
authorPaul Donald <[email protected]>
Sat, 25 Oct 2025 00:19:33 +0000 (02:19 +0200)
committerPaul Donald <[email protected]>
Sat, 25 Oct 2025 00:19:50 +0000 (02:19 +0200)
follow-up to 7e1b545bfa1d98a72d18c39528dade2b35421ed5

Signed-off-by: Paul Donald <[email protected]>
modules/luci-mod-network/root/usr/share/luci/menu.d/luci-mod-network.json

index 2a783d1a56ddb1538fcca5474f3d1a48c2be7ffb..66b28c52f8a6ac9f909e92413c8331628164fdf7 100644 (file)
                },
                "depends": {
                        "acl": [ "luci-mod-network-dhcp" ],
-                       "fs": { "/usr/sbin/odhcpd": "executable" },
-                       "fs": { "/usr/sbin/dnsmasq": "executable" },
+                       "fs": [
+                               { "/usr/sbin/odhcpd": "executable" },
+                               { "/usr/sbin/dnsmasq": "executable" }
+                       ],
                        "uci": { "dhcp": true }
                }
        },