[SCM] Debian Live initramfs hook branch, master, updated. upstream/1.154.8-1-11-g401f283

Daniel Baumann daniel at debian.org
Sat Feb 7 23:52:43 UTC 2009


The following commit has been merged in the master branch:
commit 03de2fbffdc0589a6df672693a22763a130b2a91
Author: Daniel Baumann <daniel at debian.org>
Date:   Sun Feb 8 00:41:20 2009 +0100

    Making medium removal message working again with usplash.

diff --git a/debian/live-initramfs.init b/debian/live-initramfs.init
index 6a97b45..4371a1a 100644
--- a/debian/live-initramfs.init
+++ b/debian/live-initramfs.init
@@ -126,17 +126,16 @@ do_stop ()
 			eject -p -m /live/image >/dev/null 2>&1
 			MESSAGE="Please remove the disc, close the the tray (if any)"
 		fi
-		MESSAGE="${MESSAGE} and press ENTER to continue:"
 
 		[ "$prompt" ] || return 0
 	fi
 
 	stty sane < /dev/console
 
-	echo -n -e "\n\n${MESSAGE}" > /dev/console
+	echo -n -e "\n\n${MESSAGE} and press ENTER to continue:" > /dev/console
 	if [ -x /sbin/usplash_write ]; then
 	    /sbin/usplash_write "TIMEOUT 86400"
-	    /sbin/usplash_write "TEXT-URGENT Please remove the disc, close the tray (if any)"
+	    /sbin/usplash_write "TEXT-URGENT ${MESSAGE}"
 	    /sbin/usplash_write "TEXT-URGENT and press ENTER to continue"
 	fi
 

-- 
Debian Live initramfs hook



More information about the debian-live-changes mailing list