projects
/
project
/
luci2
/
ui.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
luci2: add menu constraints
[project/luci2/ui.git]
/
luci2
/
share
/
menu.d
/
network.json
diff --git
a/luci2/share/menu.d/network.json
b/luci2/share/menu.d/network.json
index
d590046
..
25ffeee
100644
(file)
--- a/
luci2/share/menu.d/network.json
+++ b/
luci2/share/menu.d/network.json
@@
-12,12
+12,14
@@
"network/switch": {
"title": "Switch",
"acls": [ "network" ],
"network/switch": {
"title": "Switch",
"acls": [ "network" ],
+ "files": [ "/sbin/swconfig" ],
"view": "network/switch",
"index": 30
},
"network/hosts": {
"title": "Hostnames",
"acls": [ "hostnames" ],
"view": "network/switch",
"index": 30
},
"network/hosts": {
"title": "Hostnames",
"acls": [ "hostnames" ],
+ "files": [ "/etc/config/dhcp" ],
"view": "network/hosts",
"index": 50
},
"view": "network/hosts",
"index": 50
},