Enabling the "remove CD" prompt in splashy.
authorMichal Suchanek <michal.suchanek@ruk.cuni.cz>
Tue, 26 Aug 2008 13:14:23 +0000 (15:14 +0200)
committerDaniel Baumann <daniel@debian.org>
Wed, 9 Mar 2011 16:48:01 +0000 (17:48 +0100)
scripts/live
scripts/live-functions

index ec5f6e8..4ba4257 100755 (executable)
@@ -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 ()
index 0684dc0..96d6269 100644 (file)
@@ -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"
 }