Autostart Eddie

From Geitenpad
Jump to navigation Jump to search

https://airvpn.org/forums/topic/20443-how-to-autostart-airvpn-as-root-with-no-password-solved/ (scroll een eindje naar beneden, ook laatste bericht over ander id)

Create a new file under /etc/polkit-1/rules.d named "49-eddie_nopasswd.rules" (or anything similar to that) with the following content:

polkit.addRule(function(action, subject) {
   if ((action.id == "org.airvpn.eddie.ui.elevated.policy")  &&  subject.isInGroup("wheel")) {
       return polkit.Result.YES;
   }
});