summaryrefslogtreecommitdiff
path: root/kodi-rpi/60-kodi.rules
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2020-07-07 10:50:30 +0200
committerKarel Kočí <cynerd@email.cz>2020-07-07 10:50:30 +0200
commit30ad289c78f8003f9a26a20df0518884729050fa (patch)
treecaafeb82096af67659b6d511645fe2ffea3fed7f /kodi-rpi/60-kodi.rules
parent237d4ae5cf26d171e4194c9e95c7802513c84ba3 (diff)
downloadalpine-personal-pkgs-30ad289c78f8003f9a26a20df0518884729050fa.tar.gz
alpine-personal-pkgs-30ad289c78f8003f9a26a20df0518884729050fa.tar.bz2
alpine-personal-pkgs-30ad289c78f8003f9a26a20df0518884729050fa.zip
Drop kodi for now
Diffstat (limited to 'kodi-rpi/60-kodi.rules')
-rw-r--r--kodi-rpi/60-kodi.rules12
1 files changed, 0 insertions, 12 deletions
diff --git a/kodi-rpi/60-kodi.rules b/kodi-rpi/60-kodi.rules
deleted file mode 100644
index 7023ff7..0000000
--- a/kodi-rpi/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;
- }
-});