summaryrefslogtreecommitdiff
path: root/initscripts
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2004-09-18 11:20:16 +0000
committerChris Larson <clarson@kergoth.com>2004-09-18 11:20:16 +0000
commit5f7f327e6ddbf874d653556d04eb8e0ab43fd9fc (patch)
treeec9c6e0bb9d7b0346afcd78e0b64cd2432b55f3c /initscripts
parent8581a6ae0630f43d8adccb9bc8c25ede0c2b97fb (diff)
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
Diffstat (limited to 'initscripts')
-rw-r--r--initscripts/initscripts-1.0/banner15
-rw-r--r--initscripts/initscripts_1.0.oe8
2 files changed, 19 insertions, 4 deletions
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
diff --git a/initscripts/initscripts_1.0.oe b/initscripts/initscripts_1.0.oe
index 74ddcde460..7e4814e909 100644
--- a/initscripts/initscripts_1.0.oe
+++ b/initscripts/initscripts_1.0.oe
@@ -4,7 +4,7 @@ SECTION = "base"
PRIORITY = "required"
DEPENDS = "makedevs"
RDEPENDS = "makedevs"
-PR = "r8"
+PR = "r9"
SRC_URI = "file://halt \
file://ramdisk \
@@ -79,13 +79,13 @@ do_install () {
ln -sf ../init.d/rmnologin ${D}/etc/rc4.d/S99rmnologin
ln -sf ../init.d/rmnologin ${D}/etc/rc5.d/S99rmnologin
ln -sf ../init.d/sendsigs ${D}/etc/rc6.d/S20sendsigs
- ln -sf ../init.d/urandom ${D}/etc/rc6.d/S30urandom
+# ln -sf ../init.d/urandom ${D}/etc/rc6.d/S30urandom
ln -sf ../init.d/umountnfs.sh ${D}/etc/rc6.d/S31umountnfs.sh
# ln -sf ../init.d/umountfs ${D}/etc/rc6.d/S40umountfs
ln -sf ../init.d/ramdisk ${D}/etc/rcS.d/S30ramdisk
ln -sf ../init.d/reboot ${D}/etc/rc6.d/S90reboot
ln -sf ../init.d/sendsigs ${D}/etc/rc0.d/S20sendsigs
- ln -sf ../init.d/urandom ${D}/etc/rc0.d/S30urandom
+# ln -sf ../init.d/urandom ${D}/etc/rc0.d/S30urandom
ln -sf ../init.d/umountnfs.sh ${D}/etc/rc0.d/S31umountnfs.sh
# ln -sf ../init.d/umountfs ${D}/etc/rc0.d/S40umountfs
ln -sf ../init.d/halt ${D}/etc/rc0.d/S90halt
@@ -97,7 +97,7 @@ do_install () {
ln -sf ../init.d/hostname.sh ${D}/etc/rcS.d/S40hostname.sh
ln -sf ../init.d/mountnfs.sh ${D}/etc/rcS.d/S45mountnfs.sh
ln -sf ../init.d/bootmisc.sh ${D}/etc/rcS.d/S55bootmisc.sh
- ln -sf ../init.d/urandom ${D}/etc/rcS.d/S55urandom
+# ln -sf ../init.d/urandom ${D}/etc/rcS.d/S55urandom
ln -sf ../init.d/finish ${D}/etc/rcS.d/S99finish
ln -sf ../init.d/devices ${D}/etc/rcS.d/S01devices
ln -sf ../init.d/sysfs.sh ${D}/etc/rcS.d/S36sysfs