summaryrefslogtreecommitdiff
path: root/packages/gpe-bootsplash/files
diff options
context:
space:
mode:
authorMatthias Hentges <oe@hentges.net>2006-02-12 19:01:04 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-02-12 19:01:04 +0000
commit8f7d24559543565f314077459f5031c0d34d9220 (patch)
tree57bd3c4f079d83809d25ee5643947a19a9e77a44 /packages/gpe-bootsplash/files
parentd610bd848e19c84e3de9a38414a0cc9815903a3c (diff)
gpe-bootsplash:
- Display a message informing the user that he can chvt 1 to see the boot-messages - Do a chvt 1 if gpe-bootsplash errors out
Diffstat (limited to 'packages/gpe-bootsplash/files')
-rw-r--r--packages/gpe-bootsplash/files/tty2-message.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/packages/gpe-bootsplash/files/tty2-message.patch b/packages/gpe-bootsplash/files/tty2-message.patch
new file mode 100644
index 0000000000..0c3b2d859b
--- /dev/null
+++ b/packages/gpe-bootsplash/files/tty2-message.patch
@@ -0,0 +1,19 @@
+--- gpe-bootsplash-1.15/gpe-bootsplash.init.orig 2006-02-12 19:36:10.600838563 +0100
++++ gpe-bootsplash-1.15/gpe-bootsplash.init 2006-02-12 19:36:13.957218949 +0100
+@@ -31,8 +31,15 @@
+ ;;
+ esac
+ echo "0" > /proc/sys/kernel/printk
++
++ # Clear tty2
++ echo -e "\033c" > /dev/tty2
+ chvt 2
+- /usr/bin/gpe-bootsplash $ARGS
++
++ echo -e "\nLoading bootsplash..." > /dev/tty2
++ echo "Use Fn-LeftArrow to see the boot messages." > /dev/tty2
++
++ /usr/bin/gpe-bootsplash $ARGS || chvt 1
+ ;;
+ 'stop')
+ ;;