From 364b46b527237033f9b15e6db9aa621ba4b3d35c Mon Sep 17 00:00:00 2001 From: Michal Suchanek Date: Tue, 26 Aug 2008 15:14:23 +0200 Subject: [PATCH] Enabling the "remove CD" prompt in splashy. --- scripts/live | 4 +++- scripts/live-functions | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/scripts/live b/scripts/live index ec5f6e8..4ba4257 100755 --- a/scripts/live +++ b/scripts/live @@ -1338,7 +1338,9 @@ set_usplash_timeout () if [ -x /sbin/usplash_write ] then /sbin/usplash_write "TIMEOUT 120" - fi + else if [ -x /sbin/splashy_update ] ; then + /sbin/splashy_update "TIMEOUT 120" + fi ; fi } mountroot () diff --git a/scripts/live-functions b/scripts/live-functions index 0684dc0..96d6269 100644 --- a/scripts/live-functions +++ b/scripts/live-functions @@ -50,7 +50,9 @@ log_wait_msg () then /sbin/usplash_write "INPUTENTER ${@}" read nunya < /dev/.initramfs/usplash_outfifo - fi + else if [ -x /sbin/splashy_update ] ; then + /sbin/splashy_update "getstring ${@}" | read nunya + fi ; fi _log_msg "Waiting: ${@} ... \n" } -- 2.1.4