From 41e0dc88c9ba642c10b93fec0a69b941c693a390 Mon Sep 17 00:00:00 2001 From: Chris Larson Date: Wed, 14 Jan 2004 21:35:53 +0000 Subject: 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 --- initscripts/initscripts-1.0-r0/banner | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'initscripts/initscripts-1.0-r0') 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 -- cgit v1.2.3