summaryrefslogtreecommitdiffstats
path: root/files/50-disable-suspend.pkla
diff options
context:
space:
mode:
authorThomas Backlund <tmb@mageia.org>2012-05-11 16:29:57 +0000
committerThomas Backlund <tmb@mageia.org>2012-05-11 16:29:57 +0000
commit82af1cc07a24f33e5f7eae8fd2e7badaa7d940bb (patch)
tree455c24dfc0332ac875cd431ded0159143cf0bb91 /files/50-disable-suspend.pkla
parent4ba4c62c8853853e2ac87e49a02e70f55400e00f (diff)
downloaddraklive-config-82af1cc07a24f33e5f7eae8fd2e7badaa7d940bb.tar
draklive-config-82af1cc07a24f33e5f7eae8fd2e7badaa7d940bb.tar.gz
draklive-config-82af1cc07a24f33e5f7eae8fd2e7badaa7d940bb.tar.bz2
draklive-config-82af1cc07a24f33e5f7eae8fd2e7badaa7d940bb.tar.xz
draklive-config-82af1cc07a24f33e5f7eae8fd2e7badaa7d940bb.zip
disable suspend and hibernate in live mode
Diffstat (limited to 'files/50-disable-suspend.pkla')
-rwxr-xr-xfiles/50-disable-suspend.pkla6
1 files changed, 6 insertions, 0 deletions
diff --git a/files/50-disable-suspend.pkla b/files/50-disable-suspend.pkla
new file mode 100755
index 0000000..7c92300
--- /dev/null
+++ b/files/50-disable-suspend.pkla
@@ -0,0 +1,6 @@
+[Disable Suspend]
+Identity=unix-user:*
+Action=org.freedesktop.upower.hibernate;org.freedesktop.upower.suspend
+ResultAny=no
+ResultInactive=no
+ResultActive=no