summaryrefslogtreecommitdiff
path: root/scripts/live-functions
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2007-09-23 14:46:36 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 17:25:50 +0100
commit9fc9e2a1a11b0edada38cb501fefe4f58aa414ac (patch)
tree7d2d89ecfbd394b41854937ec2342bc7ae530cf5 /scripts/live-functions
parent4bdaa2237c6ae923d1dd068e9024ebceca3f40d9 (diff)
downloadlive-boot-9fc9e2a1a11b0edada38cb501fefe4f58aa414ac.tar.gz
live-boot-9fc9e2a1a11b0edada38cb501fefe4f58aa414ac.zip
Adding live-initramfs 1.87.2-1.
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: $@ ..."
+}