2007-11-23 17:34:11 +05:30
|
|
|
# /etc/rc.conf: Global OpenRC configuration settings
|
2007-04-05 16:48:42 +05:30
|
|
|
|
2007-11-23 17:34:11 +05:30
|
|
|
# Set to "YES" if you want the rc system to try and start services
|
2007-07-11 17:36:37 +05:30
|
|
|
# in parallel for a slight speed improvement. When running in parallel we
|
|
|
|
# prefix the service output with it's name as the output will get
|
|
|
|
# jumbled up.
|
2007-11-23 17:34:11 +05:30
|
|
|
rc_parallel="NO"
|
2007-04-05 16:48:42 +05:30
|
|
|
|
2007-11-23 17:34:11 +05:30
|
|
|
# Set rc_interactive to "YES" and you'll be able to press the I key during
|
|
|
|
# boot so you can choose to start specific services. Set to "NO" to disable
|
2007-04-05 16:48:42 +05:30
|
|
|
# this feature.
|
2007-11-23 17:34:11 +05:30
|
|
|
rc_interactive="YES"
|
2007-04-05 16:48:42 +05:30
|
|
|
|
|
|
|
# Do we allow any started service in the runlevel to satisfy the depedency
|
|
|
|
# or do we want all of them regardless of state? For example, if net.eth0
|
2007-11-23 17:34:11 +05:30
|
|
|
# and net.eth1 are in the default runlevel then with rc_depend_strict="NO"
|
2007-04-05 16:48:42 +05:30
|
|
|
# both will be started, but services that depend on 'net' will work if either
|
2007-11-23 17:34:11 +05:30
|
|
|
# one comes up. With rc_depend_strict="YES" we would require them both to
|
2007-04-05 16:48:42 +05:30
|
|
|
# come up.
|
2007-11-23 17:34:11 +05:30
|
|
|
rc_depend_strict="YES"
|
2007-04-05 16:48:42 +05:30
|
|
|
|
2007-11-23 17:34:11 +05:30
|
|
|
# Do we allow services to be hotplugged? If not, set to rc_hotplug="NO"
|
2007-04-05 16:48:42 +05:30
|
|
|
# NOTE: This does not affect anything hotplug/udev/devd related, just the
|
|
|
|
# starting/stopping of the init.d service triggered by it.
|
2007-11-23 17:34:11 +05:30
|
|
|
rc_hotplug="YES"
|
2007-04-05 16:48:42 +05:30
|
|
|
|
|
|
|
# Dynamic /dev managers can trigger coldplug events which cause services to
|
|
|
|
# start before we are ready for them. If this happens, we can defer these
|
2007-11-23 17:34:11 +05:30
|
|
|
# services to start in the boot runlevel. Set rc_coldplug="NO" if you don't
|
2007-04-05 16:48:42 +05:30
|
|
|
# want this.
|
|
|
|
# NOTE: This also affects module coldplugging in udev-096 and higher
|
|
|
|
# If you want module coldplugging but not coldplugging of services then you
|
2007-11-23 17:34:11 +05:30
|
|
|
# can set rc_coldplug="YES" and rc_plug_services="!*"
|
|
|
|
rc_coldplug="YES"
|
2007-04-05 16:48:42 +05:30
|
|
|
|
2007-11-23 17:34:11 +05:30
|
|
|
# Some people want a finer grain over hotplug/coldplug. rc_plug_services is a
|
2007-04-05 16:48:42 +05:30
|
|
|
# list of services that are matched in order, either allowing or not. By
|
2007-11-23 17:34:11 +05:30
|
|
|
# default we allow services through as rc_coldplug/rc_hotplug has to be YES
|
2007-04-05 16:48:42 +05:30
|
|
|
# anyway.
|
2007-11-23 17:34:11 +05:30
|
|
|
# Example - rc_plug_services="net.wlan !net.*"
|
2007-04-05 16:48:42 +05:30
|
|
|
# This allows net.wlan and any service not matching net.* to be plugged.
|
2007-11-23 17:34:11 +05:30
|
|
|
rc_plug_services=""
|
2007-04-05 16:48:42 +05:30
|
|
|
|
2007-11-23 17:34:11 +05:30
|
|
|
# rc_force_auto tries its best to prevent user interaction during the boot and
|
2007-04-05 16:48:42 +05:30
|
|
|
# shutdown process. For example, fsck will automatically be run or volumes
|
|
|
|
# remounted to create proper directory trees. This feature can be dangerous
|
|
|
|
# and is meant ONLY for headless machines where getting a physical console
|
|
|
|
# hooked up is a huge pita.
|
2007-11-23 17:34:11 +05:30
|
|
|
rc_force_auto="NO"
|
2007-04-05 16:48:42 +05:30
|
|
|
|
2007-11-23 17:34:11 +05:30
|
|
|
# rc_logger launches a logging daemon to log the entire rc process to
|
2007-10-31 21:16:56 +05:30
|
|
|
# /var/log/rc.log
|
2007-11-23 17:34:11 +05:30
|
|
|
rc_logger="NO"
|
2007-04-05 16:48:42 +05:30
|
|
|
|
2007-12-27 22:24:10 +05:30
|
|
|
##############################################################################
|
|
|
|
# MISC CONFIGURATION VARIABLES
|
|
|
|
# There variables are shared between many init scripts
|
|
|
|
|
|
|
|
# Set unicode to YES to turn on unicode support for keyboards and screens.
|
|
|
|
unicode="NO"
|
|
|
|
|
|
|
|
# Network fstypes. Below is the default.
|
|
|
|
net_fs_list="afs cifs coda davfs fuse gfs ncpfs nfs nfs4 ocfs2 shfs smbfs"
|
|
|
|
|
2007-04-05 16:48:42 +05:30
|
|
|
##############################################################################
|
|
|
|
# SERVICE CONFIGURATION VARIABLES
|
|
|
|
# These variables are documented here, but should be configured in
|
|
|
|
# /etc/conf.d/foo for service foo and NOT enabled here unless you
|
|
|
|
# really want them to work on a global basis.
|
|
|
|
|
|
|
|
# Some daemons are started and stopped via start-stop-daemon.
|
2007-05-02 18:03:56 +05:30
|
|
|
# We can set some things on a per service basis, like the nicelevel.
|
|
|
|
#export SSD_NICELEVEL="-19"
|
2007-04-05 16:48:42 +05:30
|
|
|
|
|
|
|
# Pass ulimit parameters
|
2007-11-23 17:34:11 +05:30
|
|
|
#rc_ulimit="-u 30"
|
2007-04-05 16:48:42 +05:30
|
|
|
|
|
|
|
# It's possible to define extra dependencies for services like so
|
2007-11-23 17:34:11 +05:30
|
|
|
#rc_config="/etc/foo"
|
|
|
|
#rc_need="openvpn"
|
|
|
|
#rc_use="net.eth0"
|
|
|
|
#rc_after="clock"
|
|
|
|
#rc_before="local"
|
2007-12-27 22:24:10 +05:30
|
|
|
|
2008-01-02 21:12:52 +05:30
|
|
|
# You can also enable the above commands here for each service. Below is an
|
|
|
|
# example for service foo.
|
|
|
|
#rc_foo_config="/etc/foo"
|
|
|
|
#rc_foo_need="openvpn"
|
|
|
|
#rc_foo_after="clock"
|