diff options
Diffstat (limited to 'meta/packages/initscripts/initscripts-1.0/banner')
-rwxr-xr-x | meta/packages/initscripts/initscripts-1.0/banner | 15 |
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 | |||
3 | if [ ! -e /dev/tty ]; then | ||
4 | /bin/mknod -m 0666 /dev/tty c 5 0 | ||
5 | fi | ||
6 | |||
7 | if ( > /dev/tty0 ) 2>/dev/null; then | ||
8 | vtmaster=/dev/tty0 | ||
9 | elif ( > /dev/vc/0 ) 2>/dev/null; then | ||
10 | vtmaster=/dev/vc/0 | ||
11 | else | ||
12 | vtmaster=/dev/null | ||
13 | fi | ||
14 | echo > $vtmaster | ||
15 | echo "Please wait: booting..." > $vtmaster | ||