summaryrefslogtreecommitdiff
path: root/scripts/casper-bottom/32disable_hibernation
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/casper-bottom/32disable_hibernation')
-rwxr-xr-xscripts/casper-bottom/32disable_hibernation3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/casper-bottom/32disable_hibernation b/scripts/casper-bottom/32disable_hibernation
index 47344fa..e27e2c4 100755
--- a/scripts/casper-bottom/32disable_hibernation
+++ b/scripts/casper-bottom/32disable_hibernation
@@ -23,8 +23,9 @@ log_begin_msg "$DESCRIPTION"
gpm_version=$(chroot /root /usr/bin/dpkg-query -W --showformat='${Version}' gnome-power-manager 2>/dev/null) || panel_version=""
if [ -n "$gpm_version" ]; then
- casper-reconfigure /root gnome-power-manager
+# casper-reconfigure /root gnome-power-manager
chroot /root sudo -u "$USERNAME" gconftool-2 -s -t bool /apps/gnome-power-manager/can_hibernate false
+ chroot /root sudo -u "$USERNAME" gconftool-2 -s -t bool /apps/gnome-power-manager/can_suspend false
fi
if [ -f /root/usr/share/kubuntu-default-settings/kde-profile/default/share/config/kcmlaptoprc ]; then