initscripts: rename simple shell scripts to *.sh so they are sourced instead of forking

git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4642 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
Marcin Juszkiewicz
2008-06-13 14:20:37 +00:00
parent b357bf3297
commit 7f5b6f9339
3 changed files with 9 additions and 9 deletions

View File

@@ -0,0 +1,17 @@
#!/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
elif ( > /dev/console ) 2>/dev/null; then
vtmaster=/dev/console
else
vtmaster=/dev/null
fi
echo > $vtmaster
echo "Please wait: booting..." > $vtmaster