mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
1000 B

  1. #!/bin/bash
  2. mount -n -t proc proc /proc
  3. mount -n -t tmpfs tmpfs /tmp
  4. cd /dev ; rm -f fd
  5. ln -sf /proc/kcore core
  6. ln -sf /proc/self/fd fd
  7. ln -sf fd/0 stdin
  8. ln -sf fd/1 stdout
  9. ln -sf fd/2 stderr
  10. ln -sf misc/psaux mouse
  11. cd /
  12. exec < /dev/console > /dev/console 2> /dev/console ; cd /
  13. cat << EOF
  14. _ __ __ __ __ _ ______
  15. | | / /__ / /________ ____ ___ ___ / /_____ / /| | / / __ \\
  16. | | /| / / _ \/ / ___/ __ \/ __ \`__ \/ _ \ / __/ __ \ / / | | / / /_/ /
  17. | |/ |/ / __/ / /__/ /_/ / / / / / / __/ / /_/ /_/ / / /__| |/ / ____/
  18. |__/|__/\___/_/\___/\____/_/ /_/ /_/\___/ \__/\____/ /_____/___/_/
  19. A lot of fun wishes:
  20. The LVP Team:
  21. -Benjamin 'blindcoder' Schieder
  22. EOF
  23. ttydevs="vc/2 vc/3"
  24. for x in ${ttydevs} ; do
  25. ( ( while : ; do agetty -i 38400 ${x} -n -l /bin/login-shell ; done ) & )
  26. done
  27. /bin/keymap
  28. /bin/hardware
  29. /bin/kernel
  30. agetty -i 38400 vc/1 -n -l /bin/linuxrc2