Hello community, here is the log from the commit of package laptop-mode-tools checked in at Tue Sep 16 14:49:51 CEST 2008. -------- --- laptop-mode-tools/laptop-mode-tools.changes 2008-08-19 14:04:17.000000000 +0200 +++ /mounts/work_src_done/STABLE/laptop-mode-tools/laptop-mode-tools.changes 2008-09-16 14:07:50.000000000 +0200 @@ -1,0 +2,8 @@ +Tue Sep 16 13:47:22 CEST 2008 - hmacht@suse.de + +- fate#304737 + start laptop-mode-tools by default + remount devices with relatime when on battery + set hard dist power management to 128 when on battery + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ laptop-mode-tools.spec ++++++ --- /var/tmp/diff_new_pack.i23118/_old 2008-09-16 14:39:19.000000000 +0200 +++ /var/tmp/diff_new_pack.i23118/_new 2008-09-16 14:39:19.000000000 +0200 @@ -19,12 +19,13 @@ Name: laptop-mode-tools Version: 1.41 -Release: 36 +Release: 50 License: GPL v2 or later BuildRoot: %{_tmppath}/%{name}-%{version}-build Group: System/Base Summary: The Laptop Mode Tools Url: http://www.samwel.tk/laptop_mode/ +PreReq: %insserv_prereq %fillup_prereq Source: %{name}_%{version}.tar.gz Source1: laptop-mode-tools.pm-utils-hook Source2: README.SUSE @@ -67,10 +68,14 @@ %clean rm -rf "$RPM_BUILD_ROOT" +%post +%{fillup_and_insserv -Y -f} + %preun %stop_on_removal %postun +%restart_on_update %insserv_cleanup %files @@ -87,6 +92,11 @@ %doc README.SUSE %changelog +* Tue Sep 16 2008 hmacht@suse.de +- fate#304737 + start laptop-mode-tools by default + remount devices with relatime when on battery + set hard dist power management to 128 when on battery * Tue Aug 19 2008 seife@suse.de - Add "Default-Start:" and "Default-Stop:" to initscript * Thu May 08 2008 seife@suse.de ++++++ laptop-mode_conf.diff ++++++ --- /var/tmp/diff_new_pack.i23118/_old 2008-09-16 14:39:19.000000000 +0200 +++ /var/tmp/diff_new_pack.i23118/_new 2008-09-16 14:39:19.000000000 +0200 @@ -1,7 +1,7 @@ Index: b/etc/laptop-mode/laptop-mode.conf -=================================================================== ---- a/etc/laptop-mode/laptop-mode.conf -+++ b/etc/laptop-mode/laptop-mode.conf +================================================================================ +--- laptop-mode-tools_1.41/etc/laptop-mode/laptop-mode.conf ++++ laptop-mode-tools_1.41/etc/laptop-mode/laptop-mode.conf @@ -1,5 +1,7 @@ ############################################################################### # @@ -33,3 +33,37 @@ ############################################################################### # Configuration debugging +@@ -194,7 +208,7 @@ + # Should laptop mode tools add the "noatime" option to the mount options when + # laptop mode is enabled? + # +-CONTROL_NOATIME=0 ++CONTROL_NOATIME=1 + + # Should laptop use relatime instead of noatime? The "relatime" mount option has + # more standards-compliant semantics, and allows more applications to work, +@@ -205,7 +219,7 @@ + # + # Should laptop mode tools control the hard drive idle timeout settings? + # +-CONTROL_HD_IDLE_TIMEOUT=1 ++CONTROL_HD_IDLE_TIMEOUT=0 + + + # +@@ -221,13 +235,13 @@ + # + # Should laptop mode tools control the hard drive power management settings? + # +-CONTROL_HD_POWERMGMT=0 ++CONTROL_HD_POWERMGMT=1 + + + # + # Power management for HD (hdparm -B values) + # +-BATT_HD_POWERMGMT=1 ++BATT_HD_POWERMGMT=128 + LM_AC_HD_POWERMGMT=254 + NOLM_AC_HD_POWERMGMT=254 + ++++++ latpop-mode-initscript.diff ++++++ --- /var/tmp/diff_new_pack.i23118/_old 2008-09-16 14:39:19.000000000 +0200 +++ /var/tmp/diff_new_pack.i23118/_new 2008-09-16 14:39:19.000000000 +0200 @@ -1,8 +1,8 @@ Index: b/etc/init.d/laptop-mode -=================================================================== ---- a/etc/init.d/laptop-mode -+++ b/etc/init.d/laptop-mode -@@ -1,12 +1,18 @@ +================================================================================ +--- laptop-mode-tools_1.41/etc/init.d/laptop-mode ++++ laptop-mode-tools_1.41/etc/init.d/laptop-mode +@@ -1,10 +1,16 @@ #! /bin/sh # -# chkconfig: - 20 90 @@ -24,5 +24,3 @@ test -f /usr/sbin/laptop_mode || exit 0 - if [ -f /lib/lsb/init-functions ] ; then - . /lib/lsb/init-functions ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org