summaryrefslogtreecommitdiff
path: root/scripts/live-functions
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/live-functions')
-rw-r--r--scripts/live-functions21
1 files changed, 21 insertions, 0 deletions
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: $@ ..."
+}