Advertisement
Guest User

Untitled

a guest
Jun 2nd, 2011
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 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 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. # Serial Virtual Console for KVM and others VMs
  35. #s0:2345:respawn:/sbin/agetty -8 9600 ttyS0 linux
  36.  
  37. # Hypervisor Virtual Console for Xen and KVM
  38. #h0:2345:respawn:/sbin/agetty -8 38400 hvc0 linux
  39.  
  40. ca::ctrlaltdel:/sbin/shutdown -t3 -r now
  41.  
  42. # Example lines for starting a login manager
  43. x:5:respawn:/usr/bin/xdm -nodaemon -config /etc/X11/xdm/archlinux/xdm-config
  44. #x:5:respawn:/usr/sbin/gdm -nodaemon
  45. #x:5:respawn:/usr/bin/kdm -nodaemon
  46. #x:5:respawn:/usr/bin/slim >/dev/null 2>&1
  47.  
  48. # End of file
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement