diff options
| author | Daniel Baumann <daniel@debian.org> | 2007-09-23 14:46:24 +0200 |
|---|---|---|
| committer | Daniel Baumann <daniel@debian.org> | 2007-09-23 14:46:24 +0200 |
| commit | 6c1a2cfab139bb4a61e7bcf5f4cafe3b7498f64e (patch) | |
| tree | 333a05a0a341c98203688dc4d01589340eca951c /scripts/casper-bottom/32disable_hibernation | |
| parent | a4a7503df76005df67b006e1324004c808830c32 (diff) | |
| download | live-boot-6c1a2cfab139bb4a61e7bcf5f4cafe3b7498f64e.tar.gz live-boot-6c1a2cfab139bb4a61e7bcf5f4cafe3b7498f64e.zip | |
Adding casper 1.66+debian-1.
Diffstat (limited to 'scripts/casper-bottom/32disable_hibernation')
| -rwxr-xr-x | scripts/casper-bottom/32disable_hibernation | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/casper-bottom/32disable_hibernation b/scripts/casper-bottom/32disable_hibernation index 7b7d976..badcef6 100755 --- a/scripts/casper-bottom/32disable_hibernation +++ b/scripts/casper-bottom/32disable_hibernation @@ -24,7 +24,7 @@ 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 - chroot /root su $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_hibernate false fi if [ -f /root/usr/share/kubuntu-default-settings/kde-profile/default/share/config/kcmlaptoprc ]; then |
