]> git.donarmstrong.com Git - neurodebian.git/commitdiff
Disable hibernation and suspend in the VM.
authorMichael Hanke <michael.hanke@gmail.com>
Thu, 4 Nov 2010 13:23:59 +0000 (09:23 -0400)
committerMichael Hanke <michael.hanke@gmail.com>
Thu, 4 Nov 2010 13:23:59 +0000 (09:23 -0400)
debian/changelog
debian/neurodebian-guest-additions.install
etc/polkit/neurodebian-vm-nosuspend.pkla [new file with mode: 0644]

index 8ccbc2643b7dd2660c845f2e54f2f85bd3708bab..b5c369965e4e88309f7b5f428161415c69022412 100644 (file)
@@ -1,5 +1,5 @@
-neurodebian (0.14) squeeze; urgency=low
+neurodebian (0.15) squeeze; urgency=low
 
   * Initial release.
 
- -- Michael Hanke <michael.hanke@gmail.com>  Wed, 03 Nov 2010 21:09:32 -0400
+ -- Michael Hanke <michael.hanke@gmail.com>  Thu, 04 Nov 2010 09:23:37 -0400
index e330508062eefe4505ae4092ed42e93adc119fe8..ca763d02889d4580495339d088da59fc0abbed1e 100644 (file)
@@ -1,5 +1,6 @@
 etc/sudoers.d/nopasswd etc/sudoers.d/
 etc/xdg/autostart/* etc/xdg/autostart/
 etc/gconf/* usr/share/gconf/defaults/
+etc/polkit/neurodebian-vm-nosuspend.pkla var/lib/polkit-1/localauthority/20-org.d/
 tools/nd-vmsetupwizard usr/bin
 xdg/desktop/neurodebianguest-* usr/share/applications
diff --git a/etc/polkit/neurodebian-vm-nosuspend.pkla b/etc/polkit/neurodebian-vm-nosuspend.pkla
new file mode 100644 (file)
index 0000000..1977734
--- /dev/null
@@ -0,0 +1,5 @@
+[Disable suspend]
+Identity=unix-user:*
+Action=org.freedesktop.upower.suspend;org.freedesktop.upower.hibernate
+ResultActive=no
+ResultAny=no