Don't require local login for passwordless run0
This commit is contained in:
parent
9ae190bc06
commit
e14fb09ef5
1 changed files with 1 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
||||||
polkit.addRule(function(action, subject) {
|
polkit.addRule(function(action, subject) {
|
||||||
if (action.id == "org.freedesktop.systemd1.manage-units" && subject.local && subject.active && subject.isInGroup("wheel")) {
|
if (action.id == "org.freedesktop.systemd1.manage-units" && subject.active && subject.isInGroup("wheel")) {
|
||||||
return polkit.Result.YES;
|
return polkit.Result.YES;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue