Browse Source

Changed early's init to not wait 10s while waiting for the root device, just use udevsettle

karasz/new-early
Alejandro Mery 17 years ago
parent
commit
4c39183c56
1 changed files with 2 additions and 5 deletions
  1. +2
    -5
      target/early/initramfs/init.sh

+ 2
- 5
target/early/initramfs/init.sh

@ -77,11 +77,8 @@ elif [ ! -e "$root" ]; then
fi
if [ -n "$root" ]; then
for x in $( seq 1 10 ); do
[ ! -e "$root" ] || break
sleep 1
done
udevsettle
if [ -e "$root" ]; then
title "Mounting $root"
check mount ${mode:+-o $mode} "$root" /rootfs

Loading…
Cancel
Save