home *** CD-ROM | disk | FTP | other *** search
/ Complete Linux / Complete Linux.iso / kernels / master / etc / inittab < prev    next >
Encoding:
Text File  |  1994-02-03  |  1.1 KB  |  43 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:/etc/getty 9600 tty1
  33. 2:1234:respawn:/etc/getty 9600 tty2
  34. 3:1234:respawn:/etc/getty 9600 tty3
  35. 4:1234:respawn:/etc/getty 9600 tty4
  36. #
  37. # The powerfail routines, that take care of a graceful shutdown.
  38. # In our case, CTRL-ALT-DEL was pressed.
  39. #
  40. pf::powerwait:/etc/shutdown -rf now > /dev/console < /dev/console 2>&1
  41. #
  42. ca::ctrlaltdel:/etc/shutdown -t3 -rf now
  43.