diff options
Diffstat (limited to 'applications/luci-app-vpnbypass/root/usr')
-rw-r--r-- | applications/luci-app-vpnbypass/root/usr/share/rpcd/acl.d/luci-app-vpnbypass.json | 37 |
1 files changed, 33 insertions, 4 deletions
diff --git a/applications/luci-app-vpnbypass/root/usr/share/rpcd/acl.d/luci-app-vpnbypass.json b/applications/luci-app-vpnbypass/root/usr/share/rpcd/acl.d/luci-app-vpnbypass.json index 219307e477..6dc1cb6a3f 100644 --- a/applications/luci-app-vpnbypass/root/usr/share/rpcd/acl.d/luci-app-vpnbypass.json +++ b/applications/luci-app-vpnbypass/root/usr/share/rpcd/acl.d/luci-app-vpnbypass.json @@ -1,11 +1,40 @@ { "luci-app-vpnbypass": { - "description": "Grant UCI access for luci-app-vpnbypass", + "description": "Grant UCI and file access for luci-app-vpnbypass", "read": { - "uci": [ "dhcp", "vpnbypass" ] + "cgi-io": [ + "exec" + ], + "file": { + "/usr/lib/opkg/status": [ + "read" + ], + "/etc/init.d/vpnbypass *": [ + "exec" + ], + "/etc/init.d/dnsmasq restart *": [ + "exec" + ], + "/usr/bin/grep *": [ + "exec" + ], + "/usr/sbin/grep *": [ + "exec" + ], + "/usr/sbin/iptables *": [ + "exec" + ] + }, + "uci": [ + "dhcp", + "vpnbypass" + ] }, "write": { - "uci": [ "dhcp", "vpnbypass" ] + "uci": [ + "dhcp", + "vpnbypass" + ] } } -} +}
\ No newline at end of file |