summaryrefslogtreecommitdiff
path: root/initscripts
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2004-01-14 21:35:53 +0000
committerChris Larson <clarson@kergoth.com>2004-01-14 21:35:53 +0000
commit41e0dc88c9ba642c10b93fec0a69b941c693a390 (patch)
treeb35126ca27260a43f7b30b87d68ea4dc34fe301d /initscripts
parent956fed350a9509544dae49b824c7c6aae69f0b7f (diff)
Merge openembedded@openembedded.bkbits.net:packages
into direwolf.itg.ti.com:/home/kergoth/coding/projects/user/oe-metadata/packages 2004/01/14 21:05:09+00:00 kano.org.uk!timh Fixed the banner initscript to remove a /dev link to the wrong device. BKrev: 4005b639CoTP2o_-aHZr4SacJzmxcQ
Diffstat (limited to 'initscripts')
-rw-r--r--initscripts/initscripts-1.0-r0/banner15
1 files changed, 15 insertions, 0 deletions
diff --git a/initscripts/initscripts-1.0-r0/banner b/initscripts/initscripts-1.0-r0/banner
index e69de29bb2..ee60c937ed 100644
--- a/initscripts/initscripts-1.0-r0/banner
+++ b/initscripts/initscripts-1.0-r0/banner
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+if [ ! -e /dev/tty ]; then
+ /bin/mknod -m 0666 /dev/tty c 5 0
+fi
+
+if [ -e /dev/tty0 ]; then
+ vtmaster=/dev/tty0
+elif [ -e /dev/vc/0 ]; then
+ vtmaster=/dev/vc/0
+else
+ vtmaster=/dev/null
+fi
+echo > $vtmaster
+echo "Please wait: booting..." > $vtmaster