From 30ad289c78f8003f9a26a20df0518884729050fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Tue, 7 Jul 2020 10:50:30 +0200 Subject: Drop kodi for now --- kodi-rpi/60-kodi.rules | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100644 kodi-rpi/60-kodi.rules (limited to 'kodi-rpi/60-kodi.rules') 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; - } -}); -- cgit v1.2.3