mirror of
https://github.com/remittor/zapret-openwrt.git
synced 2026-02-01 23:30:38 +03:00
luci: Add support custom.d scripts
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
"/opt/zapret/ipset/*": [ "read" ],
|
||||
"/etc/crontabs/root": [ "read" ],
|
||||
"/etc/init.d/zapret*": [ "exec" ],
|
||||
"/bin/ps*": [ "exec" ],
|
||||
"/bin/busybox*": [ "exec" ],
|
||||
"/bin/opkg*": [ "exec" ],
|
||||
"/usr/bin/apk*": [ "exec" ],
|
||||
@@ -22,7 +23,8 @@
|
||||
"write": {
|
||||
"file": {
|
||||
"/opt/zapret/config": [ "write" ],
|
||||
"/opt/zapret/ipset/*.txt": [ "write" ],
|
||||
"/opt/zapret/ipset/*": [ "write" ],
|
||||
"/opt/zapret/init.d/openwrt/custom.d/*": [ "write" ],
|
||||
"/etc/crontabs/root": [ "write" ]
|
||||
},
|
||||
"uci": [ "zapret" ]
|
||||
|
||||
Reference in New Issue
Block a user