Move /etc/conf.d/rc to /etc/rc.conf.
Lowercase all configurable variables, non configurations remain uppercase. Replace rc_env_bool with rc_yesno. Split localmount info procfs (Linux) and dumpon, savecore (BSD)
This commit is contained in:
5
etc/Makefile
Normal file
5
etc/Makefile
Normal file
@@ -0,0 +1,5 @@
|
||||
DIR = /etc
|
||||
CONF = rc.conf
|
||||
|
||||
TOPDIR = ..
|
||||
include $(TOPDIR)/default.mk
|
76
etc/rc.conf
Normal file
76
etc/rc.conf
Normal file
@@ -0,0 +1,76 @@
|
||||
# /etc/rc.conf: Global OpenRC configuration settings
|
||||
|
||||
# Set to "YES" if you want the rc system to try and start services
|
||||
# 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.
|
||||
rc_parallel="NO"
|
||||
|
||||
# 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
|
||||
# this feature.
|
||||
rc_interactive="YES"
|
||||
|
||||
# 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
|
||||
# and net.eth1 are in the default runlevel then with rc_depend_strict="NO"
|
||||
# both will be started, but services that depend on 'net' will work if either
|
||||
# one comes up. With rc_depend_strict="YES" we would require them both to
|
||||
# come up.
|
||||
rc_depend_strict="YES"
|
||||
|
||||
# Do we allow services to be hotplugged? If not, set to rc_hotplug="NO"
|
||||
# NOTE: This does not affect anything hotplug/udev/devd related, just the
|
||||
# starting/stopping of the init.d service triggered by it.
|
||||
rc_hotplug="YES"
|
||||
|
||||
# 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
|
||||
# services to start in the boot runlevel. Set rc_coldplug="NO" if you don't
|
||||
# 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
|
||||
# can set rc_coldplug="YES" and rc_plug_services="!*"
|
||||
rc_coldplug="YES"
|
||||
|
||||
# Some people want a finer grain over hotplug/coldplug. rc_plug_services is a
|
||||
# list of services that are matched in order, either allowing or not. By
|
||||
# default we allow services through as rc_coldplug/rc_hotplug has to be YES
|
||||
# anyway.
|
||||
# Example - rc_plug_services="net.wlan !net.*"
|
||||
# This allows net.wlan and any service not matching net.* to be plugged.
|
||||
rc_plug_services=""
|
||||
|
||||
# Define network fstypes. Below is the default.
|
||||
net_fs_list="afs cifs coda davfs fuse gfs ncpfs nfs nfs4 ocfs2 shfs smbfs"
|
||||
|
||||
# rc_force_auto tries its best to prevent user interaction during the boot and
|
||||
# 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.
|
||||
rc_force_auto="NO"
|
||||
|
||||
# rc_logger launches a logging daemon to log the entire rc process to
|
||||
# /var/log/rc.log
|
||||
rc_logger="NO"
|
||||
|
||||
##############################################################################
|
||||
# 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.
|
||||
# We can set some things on a per service basis, like the nicelevel.
|
||||
#export SSD_NICELEVEL="-19"
|
||||
|
||||
# Pass ulimit parameters
|
||||
#rc_ulimit="-u 30"
|
||||
|
||||
# It's possible to define extra dependencies for services like so
|
||||
#rc_config="/etc/foo"
|
||||
#rc_need="openvpn"
|
||||
#rc_use="net.eth0"
|
||||
#rc_after="clock"
|
||||
#rc_before="local"
|
Reference in New Issue
Block a user