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.

41 lines
1.0 KiB

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