summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-wol/root/usr/share/rpcd/acl.d/luci-app-wol.json
blob: 62a1eb97594523eb4027cb8d2859695665db510f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{
	"luci-app-wol": {
		"description": "Grant access to wake-on-lan executables",
		"read": {
			"ubus": {
				"luci-rpc": [ "getHostHints" ]
			}
		},
		"write": {
			"file": {
				"/usr/bin/etherwake": [ "exec" ],
				"/usr/bin/wol": [ "exec" ]
			}
		}
	}
}