Browse Source

init: enhanced to give a shell in /dev/console right after finishing rc.sysinit

0.2-maint
Alejandro Mery 16 years ago
parent
commit
f0a33ed90f
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      initramfs/init.sh

+ 4
- 0
initramfs/init.sh

@ -25,8 +25,12 @@ for x in USR1 USR2 TERM INT; do
trap "signal_handler $x" $x
done
# start the world
/etc/rc.d/rc.sysinit 2>&1 | tee -a /var/log/init.log
# attach a console
ln -s /etc/console /var/service/
while true; do
sleep 1;
done

Loading…
Cancel
Save