diff --git a/scripts/netctl-tray.rules b/scripts/netctl-tray.rules index 0cf04f8..b9a2994 100644 --- a/scripts/netctl-tray.rules +++ b/scripts/netctl-tray.rules @@ -1,7 +1,7 @@ polkit.addRule(function(action, subject) { if (action.id == "org.freedesktop.systemd1.manage-units") { var netctlInstanceMatcher = /netctl@[a-z,\\,\d]+\.service/i.test(action.lookup("unit")); - if (netctlInstanceMatcher && subject.isInGroup("wheel")) { + if (netctlInstanceMatcher) { var verb = action.lookup("verb"); if (verb == "start" || verb == "stop" || verb == "restart") { return polkit.Result.YES;