From 5f7f327e6ddbf874d653556d04eb8e0ab43fd9fc Mon Sep 17 00:00:00 2001 From: Chris Larson Date: Sat, 18 Sep 2004 11:20:16 +0000 Subject: Merge openembedded@openembedded.bkbits.net:packages into handhelds.org:/home/kergoth/code/oe/packages 2004/09/18 07:19:09-04:00 handhelds.org!kergoth initscripts: * Don't symlink urandom startup script, bump PR. * Update banner script to fail silently on devices with no VT support. BKrev: 414c19f0XDhiqRQZYEMnkLpgsr-bIg --- initscripts/initscripts-1.0/banner | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'initscripts/initscripts-1.0/banner') diff --git a/initscripts/initscripts-1.0/banner b/initscripts/initscripts-1.0/banner index e69de29bb2..21a01d2846 100644 --- a/initscripts/initscripts-1.0/banner +++ b/initscripts/initscripts-1.0/banner @@ -0,0 +1,15 @@ +#!/bin/sh + +if [ ! -e /dev/tty ]; then + /bin/mknod -m 0666 /dev/tty c 5 0 +fi + +if ( > /dev/tty0 ) 2>/dev/null; then + vtmaster=/dev/tty0 +elif ( > /dev/vc/0 ) 2>/dev/null; then + vtmaster=/dev/vc/0 +else + vtmaster=/dev/null +fi +echo > $vtmaster +echo "Please wait: booting..." > $vtmaster -- cgit v1.2.3