From 9fc9e2a1a11b0edada38cb501fefe4f58aa414ac Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 23 Sep 2007 14:46:36 +0200 Subject: Adding live-initramfs 1.87.2-1. --- scripts/live-functions | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 scripts/live-functions (limited to 'scripts/live-functions') diff --git a/scripts/live-functions b/scripts/live-functions new file mode 100644 index 0000000..60721b4 --- /dev/null +++ b/scripts/live-functions @@ -0,0 +1,21 @@ + +. /scripts/functions + +# Override this so we don't call PROGRESS +log_end_msg() +{ + if [ -x /sbin/usplash_write ]; then + /sbin/usplash_write "SUCCESS ok" + fi + _log_msg "Done." +} + +# Print a message and wait for enter +log_wait_msg() +{ + if [ -x /sbin/usplash_write ]; then + /sbin/usplash_write "INPUTENTER $@" + read nunya < /dev/.initramfs/usplash_outfifo + fi + _log_msg "Waiting: $@ ..." +} -- cgit v1.2.3