summaryrefslogtreecommitdiff
path: root/conf.d
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-11-23 12:04:11 +0000
committerRoy Marples <roy@marples.name>2007-11-23 12:04:11 +0000
commitd81def80b00a3dbcb4f8980f4503c4d659b48a2a (patch)
tree64a5df4281620cacbc1f03838d42e88167886fc9 /conf.d
parentf077f179edaeb746b267421baa29ec751c38b713 (diff)
downloadopenrc-d81def80b00a3dbcb4f8980f4503c4d659b48a2a.tar.gz
openrc-d81def80b00a3dbcb4f8980f4503c4d659b48a2a.tar.bz2
openrc-d81def80b00a3dbcb4f8980f4503c4d659b48a2a.tar.xz
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)
Diffstat (limited to 'conf.d')
-rw-r--r--conf.d/bootmisc6
-rw-r--r--conf.d/checkfs4
-rw-r--r--conf.d/clock13
-rw-r--r--conf.d/hostname2
-rw-r--r--conf.d/rc85
-rw-r--r--conf.d/urandom2
6 files changed, 10 insertions, 102 deletions
diff --git a/conf.d/bootmisc b/conf.d/bootmisc
index 5bf7ecf..3da2eca 100644
--- a/conf.d/bootmisc
+++ b/conf.d/bootmisc
@@ -2,11 +2,11 @@
# Put a nologin file in /etc to prevent people from logging in before
# system startup is complete
-DELAYLOGIN="no"
+delaylogin="no"
# List of /tmp directories we should clean up
-WIPE_TMP_DIRS="/tmp"
+wipe_tmp_dirs="/tmp"
# Should we wipe the tmp paths completely or just selectively remove known
# locks / files / etc... ?
-WIPE_TMP="yes"
+wipe_tmp="yes"
diff --git a/conf.d/checkfs b/conf.d/checkfs
index 6b7e06e..351c747 100644
--- a/conf.d/checkfs
+++ b/conf.d/checkfs
@@ -1,7 +1,7 @@
-# FSCK_SHUTDOWN causes checkfs to trigger during shutdown as well as startup.
+# fsck_shutdown causes checkfs to trigger during shutdown as well as startup.
# The end result of this is that if any periodic non-root filesystem checks are
# scheduled, under normal circumstances the actual check will happen during
# shutdown rather than at next boot.
# This is useful when periodic filesystem checks are causing undesirable
# delays at startup, but such delays at shutdown are acceptable.
-FSCK_SHUTDOWN="no"
+fsck_shutdown="NO"
diff --git a/conf.d/clock b/conf.d/clock
index 579200c..e055474 100644
--- a/conf.d/clock
+++ b/conf.d/clock
@@ -4,16 +4,9 @@
# Greenwich Mean Time). If your clock is set to the local time, then
# set CLOCK to "local". Note that if you dual boot with Windows, then
# you should set it to "local".
-CLOCK="UTC"
+clock="UTC"
# If you want to set the Hardware Clock to the current System Time
-# during shutdown, then say "yes" here.
+# during shutdown, then say "YES" here.
# You normally don't need to do this if you run a ntp daemon.
-CLOCK_SYSTOHC="no"
-
-# Select the proper timezone. For valid values, peek inside of the
-# /usr/share/zoneinfo/ directory. For example, some common values are
-# "America/New_York" or "EST5EDT" or "Europe/Berlin". If you want to
-# manage /etc/localtime yourself, set this to "".
-TIMEZONE="Factory"
-
+clock_systohc="NO"
diff --git a/conf.d/hostname b/conf.d/hostname
index f17fabd..ebdc8f1 100644
--- a/conf.d/hostname
+++ b/conf.d/hostname
@@ -1,2 +1,2 @@
# Set to the hostname of this machine
-HOSTNAME="localhost"
+hostname="localhost"
diff --git a/conf.d/rc b/conf.d/rc
deleted file mode 100644
index 2303a54..0000000
--- a/conf.d/rc
+++ /dev/null
@@ -1,85 +0,0 @@
-# /etc/conf.d/rc: Global config file for OpenRC
-
-# 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"
-
-# RC_VERBOSE will make init scripts more verbose and adds
-# "Service FOO starting/started/stopping/stopped" messages around each
-# init script.
-RC_VERBOSE="no"
-
-# RC_QUIET on the other hand will make init scripts quiet and produce no
-# output.
-RC_QUIET="no"
-
-# 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.
-#RC_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"
diff --git a/conf.d/urandom b/conf.d/urandom
index 52f4343..b4e9c99 100644
--- a/conf.d/urandom
+++ b/conf.d/urandom
@@ -4,4 +4,4 @@
# (say for crypt swap), so you will need to customize this
# behavior. If you have /var on a separate partition, then
# make sure this path lives on your root device somewhere.
-URANDOM_SEED="/var/run/random-seed"
+urandom_seed="/var/run/random-seed"