luci-app-smartdns: rewrite luci-app in JavaScript

This commit is contained in:
Nick Peng
2020-02-01 11:56:48 +08:00
parent 7d1b850119
commit 80174d9da5
15 changed files with 1724 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
{
"luci-app-smartdns": {
"description": "Grant access to LuCI app smartdns",
"read": {
"file": {
"/etc/smartdns/*": [ "read" ],
"/usr/sbin/iptables": [ "exec" ],
"/usr/sbin/ip6tables": [ "exec" ],
"/usr/sbin/smartdns": [ "exec" ]
},
"ubus": {
"service": [ "list" ]
}
},
"write": {
"file": {
"/etc/smartdns/*": [ "write" ]
}
}
}
}