Advertisement
darkelf5

inittab

Aug 26th, 2011
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.08 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:5: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 38400 tty1 linux
  28. c2:2345:respawn:/sbin/agetty -8 38400 tty2 linux
  29. c3:2345:respawn:/sbin/agetty -8 38400 tty3 linux
  30. c4:2345:respawn:/sbin/agetty -8 38400 tty4 linux
  31. c5:2345:respawn:/sbin/agetty -8 38400 tty5 linux
  32. c6:2345:respawn:/sbin/agetty -8 38400 tty6 linux
  33.  
  34. ca::ctrlaltdel:/sbin/shutdown -t3 -r now
  35.  
  36. # Example lines for starting a login manager
  37. x:5:respawn:/bin/su live -l -c "/bin/bash --login -c /usr/bin/startx >/dev/null 2>&1"
  38. #x:5:respawn:/usr/sbin/gdm -nodaemon
  39. #x:5:respawn:/usr/bin/kdm -nodaemon
  40. #x:5:respawn:/usr/bin/slim >& /dev/null
  41.  
  42. # End of file
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement