diff options
author | jahway603 | 2021-06-28 16:04:00 -0400 |
---|---|---|
committer | jahway603 | 2021-06-28 16:04:00 -0400 |
commit | f7c4e4689a59c94e607b978e6040f45d40658113 (patch) | |
tree | 5d2dbd2973049a4445527cca7af3ea2b53a1ab7c /lokinet.rules | |
parent | d956c4fe4a1bffb00faca89139908cc43e55da1b (diff) | |
download | aur-f7c4e4689a59c94e607b978e6040f45d40658113.tar.gz |
updated to v0.9.4 and switched to project's repo since upstream stopped publishing Linux binaries on their Github
Diffstat (limited to 'lokinet.rules')
-rw-r--r-- | lokinet.rules | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lokinet.rules b/lokinet.rules new file mode 100644 index 000000000000..b05edff77efc --- /dev/null +++ b/lokinet.rules @@ -0,0 +1,8 @@ +/* Allow lokinet to set DNS settings */ +polkit.addRule(function(action, subject) { + if ((action.id == "org.freedesktop.resolve1.set-dns-servers" || + action.id == "org.freedesktop.resolve1.set-domains") && + subject.user == "lokinet") { + return polkit.Result.YES; + } +}); |