home *** CD-ROM | disk | FTP | other *** search
/ chilidog.highland.cc.ks.us / chilidog.highland.cc.ks.us.zip / chilidog.highland.cc.ks.us / backup / bradford.20110502.etc.tar.gz / bradford.20110502.etc.tar / etc / inittab < prev    next >
Text File  |  2007-02-21  |  3KB  |  99 lines

  1. #
  2. # /etc/inittab
  3. #
  4. # Copyright (c) 1996-2002 SuSE Linux AG, Nuernberg, Germany.  All rights reserved.
  5. #
  6. # Author: Florian La Roche, 1996
  7. # Please send feedback to http://www.suse.de/feedback
  8. #
  9. # This is the main configuration file of /sbin/init, which
  10. # is executed by the kernel on startup. It describes what
  11. # scripts are used for the different run-levels.
  12. #
  13. # All scripts for runlevel changes are in /etc/init.d/.
  14. #
  15. # This file may be modified by SuSEconfig unless CHECK_INITTAB
  16. # in /etc/sysconfig/suseconfig is set to "no"
  17. #
  18.  
  19. # The default runlevel is defined here
  20. id:3:initdefault:
  21.  
  22. # First script to be executed, if not booting in emergency (-b) mode
  23. si::bootwait:/etc/init.d/boot
  24.  
  25. # /etc/init.d/rc takes care of runlevel handling
  26. #
  27. # runlevel 0  is  System halt   (Do not use this for initdefault!)
  28. # runlevel 1  is  Single user mode
  29. # runlevel 2  is  Local multiuser without remote network (e.g. NFS)
  30. # runlevel 3  is  Full multiuser with network
  31. # runlevel 4  is  Not used
  32. # runlevel 5  is  Full multiuser with network and xdm
  33. # runlevel 6  is  System reboot (Do not use this for initdefault!)
  34. #
  35. l0:0:wait:/etc/init.d/rc 0
  36. l1:1:wait:/etc/init.d/rc 1
  37. l2:2:wait:/etc/init.d/rc 2
  38. l3:3:wait:/etc/init.d/rc 3
  39. #l4:4:wait:/etc/init.d/rc 4
  40. l5:5:wait:/etc/init.d/rc 5
  41. l6:6:wait:/etc/init.d/rc 6
  42.  
  43. # what to do in single-user mode
  44. ls:S:wait:/etc/init.d/rc S
  45. ~~:S:respawn:/sbin/sulogin
  46.  
  47. # what to do when CTRL-ALT-DEL is pressed
  48. ca::ctrlaltdel:/sbin/shutdown -r -t 4 now
  49.  
  50. # special keyboard request (Alt-UpArrow)
  51. # look into the kbd-0.90 docs for this
  52. kb::kbrequest:/bin/echo "Keyboard Request -- edit /etc/inittab to let this work."
  53.  
  54. # what to do when power fails/returns
  55. pf::powerwait:/etc/init.d/powerfail start
  56. pn::powerfailnow:/etc/init.d/powerfail now
  57. #pn::powerfail:/etc/init.d/powerfail now
  58. po::powerokwait:/etc/init.d/powerfail stop
  59.  
  60. # for ARGO UPS
  61. sh:12345:powerfail:/sbin/shutdown -h now THE POWER IS FAILING
  62.  
  63. # getty-programs for the normal runlevels
  64. # <id>:<runlevels>:<action>:<process>
  65. # The "id" field  MUST be the same as the last
  66. # characters of the device (after "tty").
  67. 1:2345:respawn:/sbin/mingetty --noclear tty1
  68. 2:2345:respawn:/sbin/mingetty tty2
  69. 3:2345:respawn:/sbin/mingetty tty3
  70. 4:2345:respawn:/sbin/mingetty tty4
  71. 5:2345:respawn:/sbin/mingetty tty5
  72. 6:2345:respawn:/sbin/mingetty tty6
  73. #
  74. S0:12345:respawn:/sbin/agetty -L 9600 ttyS0 vt102
  75. #cons:1235:respawn:/sbin/smart_agetty -L 38400 console
  76.  
  77. #
  78. #  Note: Do not use tty7 in runlevel 3, this virtual line
  79. #  is occupied by the programm xdm.
  80. #
  81.  
  82. #  This is for the package xdmsc, after installing and
  83. #  and configuration you should remove the comment character
  84. #  from the following line:
  85. #7:3:respawn:+/etc/init.d/rx tty7
  86.  
  87.  
  88. # modem getty.
  89. # mo:235:respawn:/usr/sbin/mgetty -s 38400 modem
  90.  
  91. # fax getty (hylafax)
  92. # mo:35:respawn:/usr/lib/fax/faxgetty /dev/modem
  93.  
  94. # vbox (voice box) getty
  95. # I6:35:respawn:/usr/sbin/vboxgetty -d /dev/ttyI6
  96. # I7:35:respawn:/usr/sbin/vboxgetty -d /dev/ttyI7
  97.  
  98. # end of /etc/inittab
  99.