6 lines
276 B
Plaintext
6 lines
276 B
Plaintext
// grant NetworkManager dbus permissions (no-prompts) to the pipedald systemd service.
|
|
polkit.addRule(function(action, subject) {
|
|
if (action.id.indexOf("org.freedesktop.NetworkManager.") == 0 && subject.isInGroup("pipedal_d")) {
|
|
return polkit.Result.YES;
|
|
}
|
|
}); |