summaryrefslogtreecommitdiffstats
path: root/meta/packages/initscripts/initscripts-1.0/banner
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/initscripts/initscripts-1.0/banner')
-rwxr-xr-xmeta/packages/initscripts/initscripts-1.0/banner15
1 files changed, 15 insertions, 0 deletions
diff --git a/meta/packages/initscripts/initscripts-1.0/banner b/meta/packages/initscripts/initscripts-1.0/banner
new file mode 100755
index 0000000000..21a01d2846
--- /dev/null
+++ b/meta/packages/initscripts/initscripts-1.0/banner
@@ -0,0 +1,15 @@
1#!/bin/sh
2
3if [ ! -e /dev/tty ]; then
4 /bin/mknod -m 0666 /dev/tty c 5 0
5fi
6
7if ( > /dev/tty0 ) 2>/dev/null; then
8 vtmaster=/dev/tty0
9elif ( > /dev/vc/0 ) 2>/dev/null; then
10 vtmaster=/dev/vc/0
11else
12 vtmaster=/dev/null
13fi
14echo > $vtmaster
15echo "Please wait: booting..." > $vtmaster