summaryrefslogtreecommitdiff
path: root/packages/initrdscripts/files/init.sh
diff options
context:
space:
mode:
authorPaul Sokolovsky <pmiscml@gmail.com>2008-03-09 01:35:38 +0000
committerPaul Sokolovsky <pmiscml@gmail.com>2008-03-09 01:35:38 +0000
commit8fd3f13e159ef7506aeed77b3ad2120f91492aae (patch)
tree0d4388b51bfce89f8f562e7029ffeba0010c74a8 /packages/initrdscripts/files/init.sh
parent579bf2572c3688fafa0a2f5674c3a088c38daba0 (diff)
initramfs-*: Use $CONSOLE for input/output.
Diffstat (limited to 'packages/initrdscripts/files/init.sh')
-rw-r--r--packages/initrdscripts/files/init.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/initrdscripts/files/init.sh b/packages/initrdscripts/files/init.sh
index c3b4336e40..06b9119a1c 100644
--- a/packages/initrdscripts/files/init.sh
+++ b/packages/initrdscripts/files/init.sh
@@ -41,6 +41,7 @@ read_args() {
load_modules() {
for module in $MODULE_DIR/$1; do
+ # Cannot redir to $CONSOLE here easily - may not be set yet
echo "initramfs: Loading $module module"
source $module
done
@@ -67,7 +68,7 @@ load_modules '0*'
read_args
if [ -n "$rootdelay" ]; then
- echo "Waiting $rootdelay seconds for devices to settle..."
+ echo "Waiting $rootdelay seconds for devices to settle..." >$CONSOLE
sleep $rootdelay
fi