summaryrefslogtreecommitdiff
path: root/packages/gpe-bootsplash/files/tty2-message.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/gpe-bootsplash/files/tty2-message.patch')
-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')
+ ;;