diff options
Diffstat (limited to 'kodi/60-kodi.rules')
-rw-r--r-- | kodi/60-kodi.rules | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/kodi/60-kodi.rules b/kodi/60-kodi.rules deleted file mode 100644 index 7023ff7..0000000 --- a/kodi/60-kodi.rules +++ /dev/null @@ -1,12 +0,0 @@ -// DO NOT EDIT THIS FILE, it will be overwritten on update -// -// Allows shutting down the system when using Kodi with a dedicated user - -polkit.addRule(function(action, subject) { - if (( (action.id.indexOf("org.freedesktop.udisks.") == 0) || - (action.id.indexOf("org.freedesktop.upower.") == 0) || - (action.id.indexOf("org.freedesktop.login1.") == 0) ) && - subject.user == "kodi") { - return polkit.Result.YES; - } -}); |