SHARE
TWEET

xbmc.rules

a guest Sep 4th, 2013 316 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. polkit.addRule(function(action, subject) {
  2.     if(action.id.match("org.freedesktop.login1.") && subject.isInGroup("power")) {
  3.         return polkit.Result.YES;
  4.     }
  5. });
  6.  
  7. polkit.addRule(function(action, subject) {
  8.     if (action.id.indexOf("org.freedesktop.udisks") == 0 && subject.isInGroup("storage")) {
  9.         return polkit.Result.YES;
  10.     }
  11. });
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top