diff options
Diffstat (limited to 'testing/source/vtown/kde/post-install/powerdevil')
4 files changed, 0 insertions, 42 deletions
diff --git a/testing/source/vtown/kde/post-install/powerdevil/10-enable-ck2-power.rules b/testing/source/vtown/kde/post-install/powerdevil/10-enable-ck2-power.rules deleted file mode 100644 index 2a8a5a70..00000000 --- a/testing/source/vtown/kde/post-install/powerdevil/10-enable-ck2-power.rules +++ /dev/null @@ -1,12 +0,0 @@ -polkit.addRule( - function(action, subject) { - if ( (action.id == "org.freedesktop.consolekit.system.restart" || - action.id == "org.freedesktop.consolekit.system.restart-multiple-users" || - action.id == "org.freedesktop.consolekit.system.stop" || - action.id == "org.freedesktop.consolekit.system.stop-multiple-users") - && subject.isInGroup("power") ) { - return polkit.Result.YES; - } - } -); - diff --git a/testing/source/vtown/kde/post-install/powerdevil/10-enable-elogind-power.rules b/testing/source/vtown/kde/post-install/powerdevil/10-enable-elogind-power.rules deleted file mode 100644 index db499206..00000000 --- a/testing/source/vtown/kde/post-install/powerdevil/10-enable-elogind-power.rules +++ /dev/null @@ -1,12 +0,0 @@ -polkit.addRule( - function(action, subject) { - if ( (action.id == "org.freedesktop.login1.reboot" || - action.id == "org.freedesktop.login1.reboot-multiple-sessions" || - action.id == "org.freedesktop.login1.power-off" || - action.id == "org.freedesktop.login1.power-off-multiple-sessions") - && subject.isInGroup("power") ) { - return polkit.Result.YES; - } - } -); - diff --git a/testing/source/vtown/kde/post-install/powerdevil/10-enable-powerdevil-discrete-gpu.rules b/testing/source/vtown/kde/post-install/powerdevil/10-enable-powerdevil-discrete-gpu.rules deleted file mode 100644 index f001848e..00000000 --- a/testing/source/vtown/kde/post-install/powerdevil/10-enable-powerdevil-discrete-gpu.rules +++ /dev/null @@ -1,9 +0,0 @@ -polkit.addRule( - function(action, subject) { - if ( action.id == "org.kde.powerdevil.discretegpuhelper.hasdualgpu" && - subject.isInGroup("power") ) { - return polkit.Result.YES; - } - } -); - diff --git a/testing/source/vtown/kde/post-install/powerdevil/10-enable-upower-suspend.rules b/testing/source/vtown/kde/post-install/powerdevil/10-enable-upower-suspend.rules deleted file mode 100644 index 4bccfb01..00000000 --- a/testing/source/vtown/kde/post-install/powerdevil/10-enable-upower-suspend.rules +++ /dev/null @@ -1,9 +0,0 @@ -polkit.addRule( - function(action, subject) { - if ( (action.id == "org.freedesktop.upower.suspend" || - action.id == "org.freedesktop.upower.hibernate") - && subject.isInGroup("power") ) { - return polkit.Result.YES; - } - } -); |