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