[SCM] live-initramfs branch, debian-next, updated. debian/1.236.1-1-9-g67efdf6
Daniel Baumann
daniel at debian.org
Sun May 16 09:48:19 UTC 2010
The following commit has been merged in the debian-next branch:
commit 67efdf6c41a7a48ff3cf18072996aa8e2c7717fe
Author: Daniel Baumann <daniel at debian.org>
Date: Sun May 16 11:42:17 2010 +0200
Moving 32disable_hibernation to live-sysinit.
diff --git a/scripts/live-bottom/32disable_hibernation b/scripts/live-bottom/32disable_hibernation
deleted file mode 100755
index f4960e6..0000000
--- a/scripts/live-bottom/32disable_hibernation
+++ /dev/null
@@ -1,45 +0,0 @@
-#!/bin/sh
-
-#set -e
-
-# initramfs-tools header
-
-PREREQ=""
-
-prereqs()
-{
- echo "${PREREQ}"
-}
-
-case "${1}" in
- prereqs)
- prereqs
- exit 0
- ;;
-esac
-
-# live-initramfs header
-
-if [ -n "${NOPOWERMANAGEMENT}" ]
-then
- exit 0
-fi
-
-. /scripts/live-functions
-
-log_begin_msg "Configuring power management"
-
-# live-initramfs script
-
-gpm_version=$(chroot /root /usr/bin/dpkg-query -W --showformat='${Version}' gnome-power-manager 2>/dev/null) || panel_version=""
-
-if [ -n "${gpm_version}" ] && [ -n "${USERNAME}" ]
-then
- #live-reconfigure /root gnome-power-manager
- # Gnome < 2.20
- chroot /root sudo -u "${USERNAME}" gconftool-2 -s -t bool /apps/gnome-power-manager/can_hibernate false
- # Gnome >= 2.20
- chroot /root sudo -u "${USERNAME}" gconftool-2 -s -t bool /apps/gnome-power-manager/general/can_hibernate false
-fi
-
-log_end_msg
--
live-initramfs
More information about the debian-live-changes
mailing list