luci2: add menu constraints
[project/luci2/ui.git] / luci2 / share / menu.d / system.json
index 16e117b..3a5d45a 100644 (file)
@@ -24,6 +24,7 @@
     "system/software": {
         "title": "Software",
         "acls": [ "software" ],
+        "files": [ "/bin/opkg" ],
         "view": "system/software",
         "index": 40
     },
@@ -48,6 +49,7 @@
     "system/leds": {
         "title": "LED Configuration",
         "acls": [ "leds" ],
+        "files": [ "/etc/init.d/led" ],
         "view": "system/leds",
         "index": 80
     }