1#!/bin/sh 2### BEGIN INIT INFO 3# Provides: banner 4# Required-Start: 5# Required-Stop: 6# Default-Start: S 7# Default-Stop: 8### END INIT INFO 9 10if [ ! -e /dev/tty ]; then 11 /bin/mknod -m 0666 /dev/tty c 5 0 12fi 13 14if ( > /dev/tty0 ) 2>/dev/null; then 15 vtmaster=/dev/tty0 16elif ( > /dev/vc/0 ) 2>/dev/null; then 17 vtmaster=/dev/vc/0 18elif ( > /dev/console ) 2>/dev/null; then 19 vtmaster=/dev/console 20else 21 vtmaster=/dev/null 22fi 23echo > $vtmaster 24echo "Please wait: booting..." > $vtmaster 25