Here are some fixes especially for the faulty text label plugin.
The maintainer simply forgot to write --attach-to-session to the
plymouthd start (Patch 1: patch-plymouth see attachement)

To have a nice "Restarting..." and "Shutting down..." message I edited
/etc/init.d/plymouth and simply ask for the runlevel in the stop
function to display the right message. (Patch 2:
plymouth-reboot-shutdown-msg)

Hope you enjoy this and that it'll work as good as on my machine :)

--- 
/home/leszek/Downloads/zevenos-neptune/neptune-19/19/plymouth-modifications/deb/usr/share/initramfs-tools/scripts/init-premount/plymouth
    2010-05-09 12:45:58.000000000 +0200
+++ /usr/share/initramfs-tools/scripts/init-premount/plymouth   2010-08-27 
14:51:52.000000000 +0200
@@ -34,6 +34,6 @@
        modprobe i8042
        modprobe atkbd
 
-       /sbin/plymouthd --mode=boot --attach-to-session
+       /sbin/plymouthd --mode=boot
        /bin/plymouth --show-splash
 fi
--- 
/home/leszek/Downloads/zevenos-neptune/neptune-19/19/plymouth-modifications/deb/etc/init.d/plymouth
 2010-08-27 15:26:12.439265249 +0200
+++ /etc/init.d/plymouth        2010-08-27 15:31:29.234356435 +0200
@@ -2,12 +2,10 @@
 
 ### BEGIN INIT INFO
 # Provides:            plymouth
-# Required-Start:      udev $remote_fs
+# Required-Start:      udev $remote_fs $all
 # Required-Stop:       $remote_fs
-# Should-Start:
-# Should-Stop:
-# X-Start-Before:      gdm kdm xdm
-# X-Stop-After:                gdm kdm xdm
+# Should-Start:                gdm gdm3 kdm xdm slim nodm
+# Should-Stop:         gdm gdm3 kdm xdm slim nodm
 # Default-Start:       2 3 4 5
 # Default-Stop:                0 6
 # Short-Description:   Stop plymouth during boot and start it on shutdown
@@ -29,7 +27,7 @@
 {
        if ! plymouth --ping
        then
-               /sbin/plymouthd --mode=${1} --attach-to-session
+               /sbin/plymouthd --mode=${1}
        fi
 }
 
@@ -58,13 +56,7 @@
                if [ "$SPLASH" = "true" ]
                then
                        Start_plymouthd shutdown
-                       rlevel=$(/sbin/runlevel | cut -d " " -f 2)      
-                       if [ "$rlevel" = "0" ]; then
-                               /bin/plymouth message --text="Shutting down..."
-                       elif [ "$rlevel" = "6" ]; then
-                               /bin/plymouth message --text="Restarting..."
-                       fi
-                       /bin/plymouth --show-splash     
+                       /bin/plymouth --show-splash
                fi
                ;;
 

Reply via email to