Browse Source

[early] Changed init to use sbin/getsh to get the shells

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

+ 4
- 4
target/early/initramfs/init.sh

@ -146,13 +146,13 @@ fi
# wait for /sbin/init
while [ ! -x "/rootfs$init" ]; do
want_shell=no
echo "Please mount root device on /rootfs and exit to continue"
setsid /bin/sh < /dev/console > /dev/console 2> /dev/console
echo -e "\nPlease mount root device on /rootfs and exit to continue."
/sbin/getsh
done
if [ "$want_shell" = yes ]; then
echo "A last-minute shell was requested, please exit to continue"
setsid /bin/sh < /dev/console > /dev/console 2> /dev/console
echo -e "\nA last-minute shell was requested, please exit to continue."
/sbin/getsh
fi
title "Cleaning up"

Loading…
Cancel
Save