summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-advanced-reboot/root/usr/share
diff options
context:
space:
mode:
authorStan Grishin <stangri@melmac.net>2020-06-10 16:48:55 +0000
committerStan Grishin <stangri@melmac.net>2020-06-10 16:48:55 +0000
commit52de5bf5e2d511c75c5c33af86d41afe50000472 (patch)
tree1c20b93cbdd619c2bd379c149088a506993b5589 /applications/luci-app-advanced-reboot/root/usr/share
parent8077fcd17c262624b056b0f5451ab0c526830895 (diff)
luci-app-advanced-reboot: bugfix: support new board names for Linksys WRT-devices
Signed-off-by: Stan Grishin <stangri@melmac.net>
Diffstat (limited to 'applications/luci-app-advanced-reboot/root/usr/share')
-rw-r--r--applications/luci-app-advanced-reboot/root/usr/share/rpcd/acl.d/luci-app-advanced-reboot.json96
1 files changed, 96 insertions, 0 deletions
diff --git a/applications/luci-app-advanced-reboot/root/usr/share/rpcd/acl.d/luci-app-advanced-reboot.json b/applications/luci-app-advanced-reboot/root/usr/share/rpcd/acl.d/luci-app-advanced-reboot.json
new file mode 100644
index 0000000000..50d50bc2f7
--- /dev/null
+++ b/applications/luci-app-advanced-reboot/root/usr/share/rpcd/acl.d/luci-app-advanced-reboot.json
@@ -0,0 +1,96 @@
+{
+ "luci-app-advanced-reboot": {
+ "description": "Grant UCI and file access for luci-app-advanced-reboot",
+ "read": {
+ "cgi-io": [
+ "exec"
+ ],
+ "file": {
+ "/usr/lib/lua/luci/advanced-reboot/devices/*": [
+ "read"
+ ],
+ "/sys/devices/virtual/ubi/ubi*/mtd_num": [
+ "read"
+ ],
+ "/etc/os-release": [
+ "read"
+ ],
+ "/alt/rom/etc/os-release": [
+ "read"
+ ],
+ "/usr/sbin/fw_printenv *": [
+ "exec"
+ ],
+ "/usr/sbin/fw_setenv *": [
+ "exec"
+ ],
+ "/usr/sbin/ubiattach *": [
+ "exec"
+ ],
+ "/usr/sbin/ubiblock *": [
+ "exec"
+ ],
+ "/usr/sbin/ubidetach *": [
+ "exec"
+ ],
+ "/usr/sbin/ubinfo *": [
+ "exec"
+ ],
+ "/bin/cat *": [
+ "exec"
+ ],
+ "/usr/bin/cat *": [
+ "exec"
+ ],
+ "/bin/dd *": [
+ "exec"
+ ],
+ "/usr/bin/dd *": [
+ "exec"
+ ],
+ "/bin/hexdump *": [
+ "exec"
+ ],
+ "/usr/bin/hexdump *": [
+ "exec"
+ ],
+ "/bin/logger -t advanced-reboot *": [
+ "exec"
+ ],
+ "/usr/bin/logger -t advanced-reboot *": [
+ "exec"
+ ],
+ "/bin/mkdir *": [
+ "exec"
+ ],
+ "/usr/bin/mkdir *": [
+ "exec"
+ ],
+ "/bin/mount *": [
+ "exec"
+ ],
+ "/usr/bin/mount *": [
+ "exec"
+ ],
+ "/bin/printf *": [
+ "exec"
+ ],
+ "/usr/bin/printf *": [
+ "exec"
+ ],
+ "/bin/rm *": [
+ "exec"
+ ],
+ "/usr/bin/rm *": [
+ "exec"
+ ],
+ "/lib/functions.sh": [
+ "exec"
+ ]
+ },
+ "uci": [
+ "network"
+ ]
+ }
+ }
+}