luci2: add menu constraints
[project/luci2/ui.git] / luci2 / share / menu.d / network.json
index d590046d568484a6525040e7dc703330494c0afd..25ffeee5bf7badbf074ea3e6a2e255a82ea67e11 100644 (file)
     "network/switch": {
         "title": "Switch",
         "acls": [ "network" ],
+        "files": [ "/sbin/swconfig" ],
         "view": "network/switch",
         "index": 30
     },
     "network/hosts": {
         "title": "Hostnames",
         "acls": [ "hostnames" ],
+        "files": [ "/etc/config/dhcp" ],
         "view": "network/hosts",
         "index": 50
     },