Hello community,

here is the log from the commit of package preload for openSUSE:Factory
checked in at Tue Feb 22 20:44:50 CET 2011.



--------
--- preload/preload.changes     2011-01-24 22:29:31.000000000 +0100
+++ preload/preload.changes     2011-02-22 14:21:38.000000000 +0100
@@ -1,0 +2,6 @@
+Tue Feb 22 13:20:35 UTC 2011 - [email protected]
+
+- init.earlyxdm
+  * avoid duplicate messages on boot/shutdown/reboot (bnc #671783)
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ preload.spec ++++++
--- /var/tmp/diff_new_pack.ZXlbm4/_old  2011-02-22 20:44:16.000000000 +0100
+++ /var/tmp/diff_new_pack.ZXlbm4/_new  2011-02-22 20:44:16.000000000 +0100
@@ -20,7 +20,7 @@
 
 Name:           preload
 Version:        1.2
-Release:        2
+Release:        8
 Summary:        Preloads Files into System Cache for Faster Booting
 License:        GPLv2+
 Group:          System/Boot

++++++ preload.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/preload/init.earlyxdm new/preload/init.earlyxdm
--- old/preload/init.earlyxdm   2010-10-29 15:21:06.000000000 +0200
+++ new/preload/init.earlyxdm   2011-02-22 14:19:56.000000000 +0100
@@ -21,6 +21,11 @@
 # Short-Description: Quick X Display Manager
 ### END INIT INFO
 
+# Avoid duplicated messages as xdm has done its stop before
+case "$1" in
+    stop) exit 0
+esac
+
 . /etc/rc.status
 . /etc/sysconfig/displaymanager
 
@@ -111,11 +116,10 @@
 check || exit 0
 
 # preloading
-if test "$1" = "start" && test -x /sbin/preload; then
-
-       if test -n "$DISPLAYMANAGER_AUTOLOGIN"; then
-               /sbin/preload-client xsession &
-       fi
+if test -x /sbin/preload -a -n "$DISPLAYMANAGER_AUTOLOGIN"; then
+    /sbin/preload-client xsession &
 fi 
 
+EARLYXDM=$1
+export EARLYXDM
 exec /etc/init.d/xdm ${1+"$@"}


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to