home *** CD-ROM | disk | FTP | other *** search
/ Il CD di internet / CD.iso / ROOTDSKS.12 / TTY12 / etc / inittab < prev    next >
Encoding:
Text File  |  1994-05-13  |  1.0 KB  |  42 lines

  1. #
  2. #
  3. # A sample of the new, SYSV compatible inittab.
  4. #
  5. # (This one runs on my machine every day)
  6. #
  7. # Level to run in. Set to 5 or 6 to allow serial port logins.
  8. # If you comment this out, the system will ask you for a runlevel
  9. # when it is booted.
  10. #
  11. id:4:initdefault:
  12. #
  13. # Sysinit: takes place only once, right after system boot, *before*
  14. # possibly going single-user.
  15. #
  16. si::sysinit:/etc/update &
  17. #
  18. # boot & bootwait take place once too, but *after* possibly going
  19. # single user.
  20. #
  21. rc::bootwait:/etc/rc
  22. #
  23. # Run the cron deamon.
  24. #
  25. #cr::boot:/usr/bin/cron
  26. #
  27. # Normal levels: 1-4 = virtual consoles 5,6 = COM ports.
  28. # Ofcourse you can change this to suit your taste.
  29. #
  30. # BEWARE: where is your getty? in /bin or in /etc?
  31. #
  32. 1:1234:respawn:/sbin/agetty 38400 tty1
  33. 2:1234:respawn:/sbin/agetty 38400 tty2
  34. #3:1234:respawn:/sbin/agetty 38400 tty3
  35. #
  36. # The powerfail routines, that take care of a graceful shutdown.
  37. # In our case, CTRL-ALT-DEL was pressed.
  38. #
  39. pf::powerwait:/etc/shutdown -rf now > /dev/console < /dev/console 2>&1
  40. #
  41. ca::ctrlaltdel:/etc/shutdown -t3 -rf now
  42.