SHARE
TWEET

Untitled

a guest Nov 8th, 2012 57 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # cat rc.conf
  2. # Global OpenRC configuration settings
  3.  
  4. # Set to "YES" if you want the rc system to try and start services
  5. # in parallel for a slight speed improvement. When running in parallel we
  6. # prefix the service output with its name as the output will get
  7. # jumbled up.
  8. # WARNING: whilst we have improved parallel, it can still potentially lock
  9. # the boot process. Don't file bugs about this unless you can supply
  10. # patches that fix it without breaking other things!
  11. #rc_parallel="NO"
  12.  
  13. # Set rc_interactive to "YES" and you'll be able to press the I key during
  14. # boot so you can choose to start specific services. Set to "NO" to disable
  15. # this feature. This feature is automatically disabled if rc_parallel is
  16. # set to YES.
  17. #rc_interactive="YES"
  18.  
  19. # If we need to drop to a shell, you can specify it here.
  20. # If not specified we use $SHELL, otherwise the one specified in /etc/passwd,
  21. # otherwise /bin/sh
  22. # Linux users could specify /sbin/sulogin
  23. rc_shell=/sbin/sulogin
  24.  
  25. # Do we allow any started service in the runlevel to satisfy the dependency
  26. # or do we want all of them regardless of state? For example, if net.eth0
  27. # and net.eth1 are in the default runlevel then with rc_depend_strict="NO"
  28. # both will be started, but services that depend on 'net' will work if either
  29. # one comes up. With rc_depend_strict="YES" we would require them both to
  30. # come up.
  31. #rc_depend_strict="YES"
  32.  
  33. # rc_hotplug is a list of services that we allow to be hotplugged.
  34. # By default we do not allow hotplugging.
  35. # A hotplugged service is one started by a dynamic dev manager when a matching
  36. # hardware device is found.
  37. # This service is intrinsically included in the boot runlevel.
  38. # To disable services, prefix with a !
  39. # Example - rc_hotplug="net.wlan !net.*"
  40. # This allows net.wlan and any service not matching net.* to be plugged.
  41. # Example - rc_hotplug="*"
  42. # This allows all services to be hotplugged
  43. #rc_hotplug="*"
  44.  
  45. # rc_logger launches a logging daemon to log the entire rc process to
  46. # /var/log/rc.log
  47. # NOTE: Linux systems require the devfs service to be started before
  48. # logging can take place and as such cannot log the sysinit runlevel.
  49. #rc_logger="YES"
  50.  
  51. # Through rc_log_path you can specify a custom log file.
  52. # The default value is: /var/log/rc.log
  53. #rc_log_path="/var/log/rc.log"
  54.  
  55. # By default we filter the environment for our running scripts. To allow other
  56. # variables through, add them here. Use a * to allow all variables through.
  57. #rc_env_allow="VAR1 VAR2"
  58.  
  59. # By default we assume that all daemons will start correctly.
  60. # However, some do not - a classic example is that they fork and return 0 AND
  61. # then child barfs on a configuration error. Or the daemon has a bug and the
  62. # child crashes. You can set the number of milliseconds start-stop-daemon
  63. # waits to check that the daemon is still running after starting here.
  64. # The default is 0 - no checking.
  65. #rc_start_wait=100
  66.  
  67. # rc_nostop is a list of services which will not stop when changing runlevels.
  68. # This still allows the service itself to be stopped when called directly.
  69. #rc_nostop=""
  70.  
  71. # rc will attempt to start crashed services by default.
  72. # However, it will not stop them by default as that could bring down other
  73. # critical services.
  74. #rc_crashed_stop=NO
  75. #rc_crashed_start=YES
  76.  
  77. ##############################################################################
  78. # MISC CONFIGURATION VARIABLES
  79. # There variables are shared between many init scripts
  80.  
  81. # Set unicode to YES to turn on unicode support for keyboards and screens.
  82. unicode="YES"
  83.  
  84. # Below is the default list of network fstypes.
  85. #
  86. # afs cifs coda davfs fuse fuse.sshfs gfs glusterfs lustre ncpfs
  87. # nfs nfs4 ocfs2 shfs smbfs
  88. #
  89. # If you would like to add to this list, you can do so by adding your
  90. # own fstypes to the following variable.
  91. #extra_net_fs_list=""
  92.  
  93. ##############################################################################
  94. # SERVICE CONFIGURATION VARIABLES
  95. # These variables are documented here, but should be configured in
  96. # /etc/conf.d/foo for service foo and NOT enabled here unless you
  97. # really want them to work on a global basis.
  98.  
  99. # Some daemons are started and stopped via start-stop-daemon.
  100. # We can set some things on a per service basis, like the nicelevel.
  101. #export SSD_NICELEVEL="-19"
  102.  
  103. # Pass ulimit parameters
  104. #rc_ulimit="-u 30"
  105.  
  106. # It's possible to define extra dependencies for services like so
  107. #rc_config="/etc/foo"
  108. #rc_need="openvpn"
  109. #rc_use="net.eth0"
  110. #rc_after="clock"
  111. #rc_before="local"
  112. #rc_provide="!net"
  113.  
  114. # You can also enable the above commands here for each service. Below is an
  115. # example for service foo.
  116. #rc_foo_config="/etc/foo"
  117. #rc_foo_need="openvpn"
  118. #rc_foo_after="clock"
  119.  
  120. # You can also remove dependencies.
  121. # This is mainly used for saying which servies do NOT provide net.
  122. #rc_net_tap0_provide="!net"
  123.  
  124. ##############################################################################
  125. # LINUX SPECIFIC OPTIONS
  126.  
  127. # This is the subsystem type. Valid options on Linux:
  128. # ""        - nothing special
  129. # "lxc"     - Linux Containers
  130. # "openvz"  - Linux OpenVZ
  131. # "uml"     - Usermode Linux
  132. # "vserver" - Linux vserver
  133. # "xen0"    - Xen0 Domain
  134. # "xenU"    - XenU Domain
  135. # If this is commented out, automatic detection will be used.
  136. #
  137. # This should be set to the value representing the environment this file is
  138. # PRESENTLY in, not the virtualization the environment is capable of.
  139. #rc_sys=""
  140.  
  141. # This is the number of tty's used in most of the rc-scripts (like
  142. # consolefont, numlock, etc ...)
  143. rc_tty_number=12
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top