Advertisement
Guest User

/etc/inittab

a guest
Jun 13th, 2011
225
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.27 KB | None | 0 0
  1. #
  2. # /etc/inittab
  3. #
  4.  
  5. # Runlevels:
  6. # 0 Halt
  7. # 1(S) Single-user
  8. # 2 Not used
  9. # 3 Multi-user
  10. # 4 Not used
  11. # 5 X11
  12. # 6 Reboot
  13.  
  14. ## Only one of the following two lines can be uncommented!
  15. # Boot to console
  16. #id:3:initdefault:
  17. # Boot to X11
  18. id:5:initdefault:
  19.  
  20. rc::sysinit:/etc/rc.sysinit
  21. rs:S1:wait:/etc/rc.single
  22. rm:2345:wait:/etc/rc.multi
  23. rh:06:wait:/etc/rc.shutdown
  24. su:S:wait:/sbin/sulogin -p
  25.  
  26. # -8 options fixes umlauts problem on login
  27. #c1:2345:respawn:/sbin/agetty -8 -s 38400 tty1 linux
  28. x:5:respawn:/usr/sbin/gdm -nodaemon
  29. c2:2345:respawn:/sbin/fgetty tty2 linux
  30. c3:2345:respawn:/sbin/fgetty tty3 linux
  31. #c4:2345:respawn:/sbin/agetty -8 -s 38400 tty4 linux
  32. #c5:2345:respawn:/sbin/agetty -8 -s 38400 tty5 linux
  33. #c6:2345:respawn:/sbin/agetty -8 -s 38400 tty6 linux
  34.  
  35. # Serial Virtual Console for KVM and others VMs
  36. #s0:2345:respawn:/sbin/agetty -8 -s 9600 ttyS0 linux
  37.  
  38. # Hypervisor Virtual Console for Xen and KVM
  39. #h0:2345:respawn:/sbin/agetty -8 -s 38400 hvc0 linux
  40.  
  41. ca::ctrlaltdel:/sbin/shutdown -t3 -r now
  42.  
  43. # Example lines for starting a login manager
  44. #x:5:respawn:/usr/bin/xdm -nodaemon
  45. #x:5:respawn:/usr/sbin/gdm -nodaemon
  46. #x:5:respawn:/usr/bin/kdm -nodaemon
  47. #x:5:respawn:/usr/bin/slim >/dev/null 2>&1
  48.  
  49. # End of file
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement