From 962c35425636e3f942fd8a624369a7c53748f47e Mon Sep 17 00:00:00 2001 From: Azat Bahawi Date: Thu, 1 Jan 1970 03:00:00 +0300 Subject: chore: init --- etc/conf.d/acpid | 6 +++ etc/conf.d/adjtimex | 9 ++++ etc/conf.d/agetty | 11 +++++ etc/conf.d/alsasound | 15 ++++++ etc/conf.d/bootmisc | 15 ++++++ etc/conf.d/busybox-ntpd | 6 +++ etc/conf.d/busybox-watchdog | 9 ++++ etc/conf.d/consolefont | 18 +++++++ etc/conf.d/devfs | 8 ++++ etc/conf.d/device-mapper | 1 + etc/conf.d/display-manager | 13 +++++ etc/conf.d/dmcrypt | 112 ++++++++++++++++++++++++++++++++++++++++++++ etc/conf.d/dmesg | 3 ++ etc/conf.d/earlyoom | 1 + etc/conf.d/elogind | 7 +++ etc/conf.d/fancontrol | 16 +++++++ etc/conf.d/fcron | 7 +++ etc/conf.d/fsck | 40 ++++++++++++++++ etc/conf.d/git-daemon | 19 ++++++++ etc/conf.d/haveged | 9 ++++ etc/conf.d/hdparm | 26 ++++++++++ etc/conf.d/hostname | 2 + etc/conf.d/hwclock | 20 ++++++++ etc/conf.d/ip6tables | 27 +++++++++++ etc/conf.d/iptables | 27 +++++++++++ etc/conf.d/irqbalance | 19 ++++++++ etc/conf.d/keymaps | 23 +++++++++ etc/conf.d/killprocs | 6 +++ etc/conf.d/lm_sensors | 4 ++ etc/conf.d/localmount | 10 ++++ etc/conf.d/lvm | 9 ++++ etc/conf.d/modules | 22 +++++++++ etc/conf.d/mtab | 13 +++++ etc/conf.d/net | 7 +++ etc/conf.d/net-online | 18 +++++++ etc/conf.d/netmount | 47 +++++++++++++++++++ etc/conf.d/nfs | 38 +++++++++++++++ etc/conf.d/nfsclient | 18 +++++++ etc/conf.d/ntpd | 7 +++ etc/conf.d/openvpn | 18 +++++++ etc/conf.d/pciparm | 28 +++++++++++ etc/conf.d/pydoc-2.7 | 6 +++ etc/conf.d/pydoc-3.9 | 6 +++ etc/conf.d/rpcbind | 4 ++ etc/conf.d/rsyncd | 5 ++ etc/conf.d/saslauthd | 19 ++++++++ etc/conf.d/smapi | 20 ++++++++ etc/conf.d/smartd | 4 ++ etc/conf.d/sshd | 33 +++++++++++++ etc/conf.d/stmpfiles-dev | 2 + etc/conf.d/stmpfiles-setup | 2 + etc/conf.d/svnserve | 10 ++++ etc/conf.d/swap | 13 +++++ etc/conf.d/syncthing | 24 ++++++++++ etc/conf.d/syslog-ng | 43 +++++++++++++++++ etc/conf.d/udev | 9 ++++ etc/conf.d/udev-settle | 5 ++ etc/conf.d/udev-trigger | 32 +++++++++++++ etc/conf.d/urandom | 5 ++ 59 files changed, 956 insertions(+) create mode 100644 etc/conf.d/acpid create mode 100644 etc/conf.d/adjtimex create mode 100644 etc/conf.d/agetty create mode 100644 etc/conf.d/alsasound create mode 100644 etc/conf.d/bootmisc create mode 100644 etc/conf.d/busybox-ntpd create mode 100644 etc/conf.d/busybox-watchdog create mode 100644 etc/conf.d/consolefont create mode 100644 etc/conf.d/devfs create mode 100644 etc/conf.d/device-mapper create mode 100644 etc/conf.d/display-manager create mode 100644 etc/conf.d/dmcrypt create mode 100644 etc/conf.d/dmesg create mode 120000 etc/conf.d/earlyoom create mode 100644 etc/conf.d/elogind create mode 100644 etc/conf.d/fancontrol create mode 100644 etc/conf.d/fcron create mode 100644 etc/conf.d/fsck create mode 100644 etc/conf.d/git-daemon create mode 100644 etc/conf.d/haveged create mode 100644 etc/conf.d/hdparm create mode 100644 etc/conf.d/hostname create mode 100644 etc/conf.d/hwclock create mode 100644 etc/conf.d/ip6tables create mode 100644 etc/conf.d/iptables create mode 100644 etc/conf.d/irqbalance create mode 100644 etc/conf.d/keymaps create mode 100644 etc/conf.d/killprocs create mode 100644 etc/conf.d/lm_sensors create mode 100644 etc/conf.d/localmount create mode 100644 etc/conf.d/lvm create mode 100644 etc/conf.d/modules create mode 100644 etc/conf.d/mtab create mode 100644 etc/conf.d/net create mode 100644 etc/conf.d/net-online create mode 100644 etc/conf.d/netmount create mode 100644 etc/conf.d/nfs create mode 100644 etc/conf.d/nfsclient create mode 100644 etc/conf.d/ntpd create mode 100644 etc/conf.d/openvpn create mode 100644 etc/conf.d/pciparm create mode 100644 etc/conf.d/pydoc-2.7 create mode 100644 etc/conf.d/pydoc-3.9 create mode 100644 etc/conf.d/rpcbind create mode 100644 etc/conf.d/rsyncd create mode 100644 etc/conf.d/saslauthd create mode 100644 etc/conf.d/smapi create mode 100644 etc/conf.d/smartd create mode 100644 etc/conf.d/sshd create mode 100644 etc/conf.d/stmpfiles-dev create mode 100644 etc/conf.d/stmpfiles-setup create mode 100644 etc/conf.d/svnserve create mode 100644 etc/conf.d/swap create mode 100644 etc/conf.d/syncthing create mode 100644 etc/conf.d/syslog-ng create mode 100644 etc/conf.d/udev create mode 100644 etc/conf.d/udev-settle create mode 100644 etc/conf.d/udev-trigger create mode 100644 etc/conf.d/urandom (limited to 'etc/conf.d') diff --git a/etc/conf.d/acpid b/etc/conf.d/acpid new file mode 100644 index 0000000..9aadb4c --- /dev/null +++ b/etc/conf.d/acpid @@ -0,0 +1,6 @@ +# /etc/conf.d/acpid: config file for /etc/init.d/acpid + +# Options to pass to the acpid daemon. +# See the acpid(8) man page for more info. + +ACPID_ARGS="" diff --git a/etc/conf.d/adjtimex b/etc/conf.d/adjtimex new file mode 100644 index 0000000..5e97214 --- /dev/null +++ b/etc/conf.d/adjtimex @@ -0,0 +1,9 @@ +# /etc/conf.d/adjtimex - configuration file for adjtimex(8) +# +# you may adjust these values manually or by calling /usr/sbin/adjtimexconfig +# +# This file is sourced by /etc/init.d/adjtimex +# +TICK=9998 +FREQ=1336887 + diff --git a/etc/conf.d/agetty b/etc/conf.d/agetty new file mode 100644 index 0000000..03acee6 --- /dev/null +++ b/etc/conf.d/agetty @@ -0,0 +1,11 @@ +# make agetty quiet +#quiet="yes" + +# Set the baud rate of the terminal line +#baud="" + +# set the terminal type +#term_type="linux" + +# extra options to pass to agetty for this port +#agetty_options="" diff --git a/etc/conf.d/alsasound b/etc/conf.d/alsasound new file mode 100644 index 0000000..6fec8f5 --- /dev/null +++ b/etc/conf.d/alsasound @@ -0,0 +1,15 @@ +# RESTORE_ON_START: +# Do you want to restore your mixer settings? If not, your cards will be +# muted. +# no - Do not restore state +# yes - Restore state + +RESTORE_ON_START="yes" + +# SAVE_ON_STOP: +# Do you want to save changes made to your mixer volumes when alsasound +# stops? +# no - Do not save state +# yes - Save state + +SAVE_ON_STOP="yes" diff --git a/etc/conf.d/bootmisc b/etc/conf.d/bootmisc new file mode 100644 index 0000000..dd5b08e --- /dev/null +++ b/etc/conf.d/bootmisc @@ -0,0 +1,15 @@ +# List of /tmp directories we should clean up +clean_tmp_dirs="/tmp" + +# Should we wipe the tmp paths completely or just selectively remove known +# locks / files / etc... ? +wipe_tmp="YES" + +# Write the initial dmesg log into /var/log/dmesg after boot +# This may be useful if you need the kernel boot log afterwards +log_dmesg="YES" + +# Save the previous dmesg log to dmesg.old +# This may be useful if you need to compare the current boot to the +# previous one. +#previous_dmesg=no diff --git a/etc/conf.d/busybox-ntpd b/etc/conf.d/busybox-ntpd new file mode 100644 index 0000000..f50d4c2 --- /dev/null +++ b/etc/conf.d/busybox-ntpd @@ -0,0 +1,6 @@ +# Config file for /etc/init.d/busybox-ntpd + +# run "/sbin/ntpd --help" to see all possible options. + +# Get time from specified server and run in background +NTPD_OPTS="-N -p pool.ntp.org" diff --git a/etc/conf.d/busybox-watchdog b/etc/conf.d/busybox-watchdog new file mode 100644 index 0000000..bd6aec0 --- /dev/null +++ b/etc/conf.d/busybox-watchdog @@ -0,0 +1,9 @@ +# Config file for /etc/init.d/busybox-watchdog + +# run "/sbin/watchdog --help" to see all possible options. + +# Periodically write to watchdog device +WATCHDOG_OPTS="/dev/watchdog" + +# optionally set the nice-level +#SSD_NICELEVEL="-20" diff --git a/etc/conf.d/consolefont b/etc/conf.d/consolefont new file mode 100644 index 0000000..e01ae84 --- /dev/null +++ b/etc/conf.d/consolefont @@ -0,0 +1,18 @@ +# The consolefont service is not activated by default. If you need to +# use it, you should run "rc-update add consolefont boot" as root. +# +# consolefont specifies the default font that you'd like Linux to use on the +# console. You can find a good selection of fonts in /usr/share/consolefonts; +# you shouldn't specify the trailing ".psf.gz", just the font name below. +# To use the default console font, comment out the CONSOLEFONT setting below. +consolefont="default8x16" + +# consoletranslation is the charset map file to use. Leave commented to use +# the default one. Have a look in /usr/share/consoletrans for a selection of +# map files you can use. +#consoletranslation="8859-1_to_uni" + +# unicodemap is the unicode map file to use. Leave commented to use the +# default one. Have a look in /usr/share/unimaps for a selection of map files +# you can use. +#unicodemap="iso01" diff --git a/etc/conf.d/devfs b/etc/conf.d/devfs new file mode 100644 index 0000000..51f8037 --- /dev/null +++ b/etc/conf.d/devfs @@ -0,0 +1,8 @@ +# OpenRC will attempt each of the following in succession to mount /dev. +# +# 1. If there is an entry for /dev in fstab, it will be used. +# 2. If devtmpfs is defined in the kernel, it will be used. +# 3. If tmpfs is defined in the kernel, it will be used. +# +# Set this to yes if you do not want OpenRC to attempt to mount /dev. +# skip_mount_dev="NO" diff --git a/etc/conf.d/device-mapper b/etc/conf.d/device-mapper new file mode 100644 index 0000000..bc7a251 --- /dev/null +++ b/etc/conf.d/device-mapper @@ -0,0 +1 @@ +RC_AFTER="lvm" diff --git a/etc/conf.d/display-manager b/etc/conf.d/display-manager new file mode 100644 index 0000000..25d57e9 --- /dev/null +++ b/etc/conf.d/display-manager @@ -0,0 +1,13 @@ +# We always try and start the DM on a static VT. The various DMs normally +# default to using VT7. If you wish to use the display-manager init +# script, then you should ensure that the VT checked is the same VT your +# DM wants to use. +# We do this check to ensure that you haven't accidentally configured +# something to run on the VT in your /etc/inittab file so that +# you don't get a dead keyboard. +CHECKVT=7 + +# What display manager do you use ? +# [ xdm | greetd | gdm | sddm | gpe | lightdm | entrance ] +# NOTE: If this is set in /etc/rc.conf, that setting will override this one. +DISPLAYMANAGER="xdm" diff --git a/etc/conf.d/dmcrypt b/etc/conf.d/dmcrypt new file mode 100644 index 0000000..96c523e --- /dev/null +++ b/etc/conf.d/dmcrypt @@ -0,0 +1,112 @@ +# /etc/conf.d/dmcrypt + +# For people who run dmcrypt on top of some other layer (like raid), +# use rc_need to specify that requirement. See the runscript(8) man +# page for more information. + +#-------------------- +# Instructions +#-------------------- + +# Note regarding the syntax of this file. This file is *almost* bash, +# but each line is evaluated separately. Separate swaps/targets can be +# specified. The init-script which reads this file assumes that a +# swap= or target= line starts a new section, similar to lilo or grub +# configuration. + +# Note when using gpg keys and /usr on a separate partition, you will +# have to copy /usr/bin/gpg to /bin/gpg so that it will work properly +# and ensure that gpg has been compiled statically. +# See http://bugs.gentoo.org/90482 for more information. + +# Note that the init-script which reads this file detects whether your +# partition is LUKS or not. No mkfs is run unless you specify a makefs +# option. + +# Global options: +#---------------- + +# How long to wait for each timeout (in seconds). +dmcrypt_key_timeout=1 + +# Max number of checks to perform (see dmcrypt_key_timeout). +#dmcrypt_max_timeout=300 + +# Number of password retries. +dmcrypt_retries=5 + +# Arguments: +#----------- +# target= == Mapping name for partition. +# swap= == Mapping name for swap partition. +# source='' == Real device for partition. +# Note: You can (and should) specify a tag like UUID +# for blkid (see -t option). This is safer than using +# the full path to the device. +# key='[:]' == Fullpath from / or from inside removable media. +# remdev='' == Device that will be assigned to removable media. +# gpg_options='' == Default are --quiet --decrypt +# options='' == cryptsetup, for LUKS you can only use --readonly +# loop_file='' == Loopback file. +# Note: If you omit $source, then a free loopback will +# be looked up automatically. +# pre_mount='cmds' == commands to execute before mounting partition. +# post_mount='cmds' == commands to execute after mounting partition. +# wait=5 == wait given amount of seconds for source to appear +#----------- +# Supported Modes +# gpg == decrypt and pipe key into cryptsetup. +# Note: new-line character must not be part of key. +# Command to erase \n char: 'cat key | tr -d '\n' > cleanKey' + +#-------------------- +# dm-crypt examples +#-------------------- + +## swap +# Swap partitions. These should come first so that no keys make their +# way into unencrypted swap. +# If no options are given, they will default to: -c aes -h sha1 -d /dev/urandom +# If no makefs is given then mkswap will be assumed +#swap=crypt-swap +#source='/dev/hda2' + +## /home with passphrase +#target=crypt-home +#source='/dev/hda5' + +## /home with regular keyfile +#target=crypt-home +#source='/dev/hda5' +#key='/full/path/to/homekey' + +## /home with gpg protected key +#target=crypt-home +#source='/dev/hda5' +#key='/full/path/to/homekey:gpg' + +## /home with regular keyfile on removable media(such as usb-stick) +#target=crypt-home +#source='/dev/hda5' +#key='/full/path/to/homekey' +#remdev='/dev/sda1' + +## /home with gpg protected key on removable media(such as usb-stick) +#target=crypt-home +#source='/dev/hda5' +#key='/full/path/to/homekey:gpg' +#remdev='/dev/sda1' + +## /tmp with regular keyfile +#target=crypt-tmp +#source='/dev/hda6' +#key='/full/path/to/tmpkey' +#pre_mount='/sbin/mkreiserfs -f -f ${dev}' +#post_mount='chown root:root ${mount_point}; chmod 1777 ${mount_point}' + +## Loopback file example +#target='crypt-loop-home' +#source='/dev/loop0' +#loop_file='/mnt/crypt/home' + +# The file must be terminated by a newline. Or leave this comment last. diff --git a/etc/conf.d/dmesg b/etc/conf.d/dmesg new file mode 100644 index 0000000..cd4b8b3 --- /dev/null +++ b/etc/conf.d/dmesg @@ -0,0 +1,3 @@ +# Sets the level at which logging of messages is done to the +# console. See dmesg(1) for more info. +dmesg_level="1" diff --git a/etc/conf.d/earlyoom b/etc/conf.d/earlyoom new file mode 120000 index 0000000..f5e8c76 --- /dev/null +++ b/etc/conf.d/earlyoom @@ -0,0 +1 @@ +../default/earlyoom \ No newline at end of file diff --git a/etc/conf.d/elogind b/etc/conf.d/elogind new file mode 100644 index 0000000..716e145 --- /dev/null +++ b/etc/conf.d/elogind @@ -0,0 +1,7 @@ +# /etc/conf.d/elogind: config file for /etc/init.d/elogind + +# this is the elogind executable +ELOGIND_EXEC="/lib64/elogind/elogind" + +# this is where elogind will store its pid file +ELOGIND_PIDFILE="/run/elogind.pid" diff --git a/etc/conf.d/fancontrol b/etc/conf.d/fancontrol new file mode 100644 index 0000000..a716958 --- /dev/null +++ b/etc/conf.d/fancontrol @@ -0,0 +1,16 @@ +# /etc/conf.d/fancontrol + +# Configuration file +#FANCONTROL_CONFIGFILE="/etc/fancontrol" + +# You can use this configuration option to pass additional options to the +# start-stop-daemon, see start-stop-daemon(8) for more details. +# Per default we forces fancontrol into background and wait 1000ms after we +# have started the service to ensure that the daemon is really up and +# running. +#FANCONTROL_SSDARGS="--background --wait 1000" + +# The termination timeout (start-stop-daemon parameter "retry") ensures +# that the service will be terminated within a given time (60 + 5 seconds +# per default) when you are stopping the service. +#FANCONTROL_TERMTIMEOUT="TERM/60/KILL/5" diff --git a/etc/conf.d/fcron b/etc/conf.d/fcron new file mode 100644 index 0000000..ea907d8 --- /dev/null +++ b/etc/conf.d/fcron @@ -0,0 +1,7 @@ +# /etc/conf.d/fcron + +# Options to fcron +# See fcron(8) for more details +# Notes: +# * Do not specify another CONFIGFILE +#FCRON_OPTS="" diff --git a/etc/conf.d/fsck b/etc/conf.d/fsck new file mode 100644 index 0000000..30131ea --- /dev/null +++ b/etc/conf.d/fsck @@ -0,0 +1,40 @@ +# Pass any arguments to fsck. +# By default we preen. +# Linux systems also force -C0 and -T. +# If fsck_args is not specified then Linux systems also use -A +# (and -R if / is rw) +#fsck_args="-p" + +# We can also specify the passno in /etc/fstab to check +# If you multiplex fsck (ie ln -s fsck /etc/init.d/fsck.late) then you can +# do an fsck outside of the normal scope, say for /home. +# Here are some exampes:- +#fsck_passno="=1 =2" +#fsck_passno=">1" +#fsck_passno="<2" + +# If passno is not enough granularity, you can also specify mountpoints to +# check. This should NOT be used for the default non-multiplexed fsck, or your +# system might not be checked. Additionally, it is mutually exclusive with +# the fsck_passno setting. +#fsck_mnt="" +#fsck_mnt="/home" + +# Most modern fs's don't require a full fsck on boot, but for those that do +# it may be advisable to skip this when running on battery. +# WARNING: Do not turn this off if you have any JFS partitions. +fsck_on_battery="YES" + +# fsck_shutdown causes fsck 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_abort_on_errors can be set to no to cause fsck to not abort on +# errors. +# This is useful when periodic filesystem checks are causing undesirable +# aborts. +fsck_abort_on_errors="YES" diff --git a/etc/conf.d/git-daemon b/etc/conf.d/git-daemon new file mode 100644 index 0000000..69b209f --- /dev/null +++ b/etc/conf.d/git-daemon @@ -0,0 +1,19 @@ +# conf.d file for git-daemon +# +# Please check man 1 git-daemon for more information about the options +# git-daemon accepts. You MUST edit this to include your repositories you wish +# to serve. +# +# Some of the meaningful options are: +# --syslog --- Enables syslog logging +# --verbose --- Enables verbose logging +# --export-all --- Exports all repositories +# --port=XXXX --- Starts in port XXXX instead of 9418 +# +GITDAEMON_OPTS="--syslog --base-path=/var/git" + +# To run an anonymous git safely, the following user should be able to only +# read your Git repositories. It should not be able to write to anywhere on +# your system, esp. not the repositories. +GIT_USER="nobody" +GIT_GROUP="nobody" diff --git a/etc/conf.d/haveged b/etc/conf.d/haveged new file mode 100644 index 0000000..a8520a3 --- /dev/null +++ b/etc/conf.d/haveged @@ -0,0 +1,9 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +WATERMARK=1024 + +# -r0 is added always +HAVEGED_OPTS="-w ${WATERMARK} -v 1" + +# vim:ft=gentoo-conf-d: diff --git a/etc/conf.d/hdparm b/etc/conf.d/hdparm new file mode 100644 index 0000000..a1ae626 --- /dev/null +++ b/etc/conf.d/hdparm @@ -0,0 +1,26 @@ +# /etc/conf.d/hdparm: config file for /etc/init.d/hdparm + +# +# Note that options such as -y which force *immediate* power saving options +# should generally not be placed here. The hdparm init.d script may run at +# anytime with respect to other init.d scripts that do system wide drive +# scans (like the hald script), so they will merely get spun right back up. +# If you wish to use these options, please use the local.start init.d script +# instead so that you're guaranteed that it will run last. +# + +# You can either set hdparm arguments for each drive using hdX_args, +# discX_args, cdromX_args and genericX_args, e.g. +# +# hda_args="-d1 -X66" +# disc1_args="-d1" +# cdrom0_args="-d1" + +# or you can set options for all PATA drives +pata_all_args="-d1" + +# or you can set options for all SATA drives +sata_all_args="" + +# or, you can set hdparm options for all drives +all_args="" diff --git a/etc/conf.d/hostname b/etc/conf.d/hostname new file mode 100644 index 0000000..1dd8a63 --- /dev/null +++ b/etc/conf.d/hostname @@ -0,0 +1,2 @@ +# Hostname fallback if /etc/hostname does not exist +hostname="olorin" diff --git a/etc/conf.d/hwclock b/etc/conf.d/hwclock new file mode 100644 index 0000000..77eb1aa --- /dev/null +++ b/etc/conf.d/hwclock @@ -0,0 +1,20 @@ +# Set CLOCK to "UTC" if your Hardware Clock is set to UTC (also known as +# Greenwich Mean Time). If that 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" + +# If you want the hwclock script to set the system time (software clock) +# to match the current hardware clock during bootup, leave this +# commented out. +# However, you can set this to "NO" if you are running a modern kernel +# and using NTP to synchronize your system clock. +clock_hctosys="YES" + +# If you do not want to set the hardware clock to the current system +# time (software clock) during shutdown, set this to no. +clock_systohc="YES" + +# If you wish to pass any other arguments to hwclock during bootup, +# you may do so here. Alpha users may wish to use --arc or --srm here. +clock_args="" diff --git a/etc/conf.d/ip6tables b/etc/conf.d/ip6tables new file mode 100644 index 0000000..e608f41 --- /dev/null +++ b/etc/conf.d/ip6tables @@ -0,0 +1,27 @@ +# /etc/conf.d/ip6tables + +# Set wait option for xtables lock in seconds +# DEFAULT: 60 +#IPTABLES_LOCK_WAIT_TIME="60" + +# Set wait interval option for xtables lock in microseconds +# DEFAULT: 1000 +#IPTABLES_LOCK_WAIT_INTERVAL="1000" + +# Location in which ip6tables initscript will save set rules on +# service shutdown +IP6TABLES_SAVE="/var/lib/ip6tables/rules-save" + +# Options to pass to ip6tables-save and ip6tables-restore +SAVE_RESTORE_OPTIONS="-c" + +# Save state on stopping ip6tables +SAVE_ON_STOP="yes" + +# If you need to log ip6tables messages as soon as ip6tables starts, +# AND your logger does NOT depend on the network, then you may wish +# to uncomment the next line. +# If your logger depends on the network, and you uncomment this line +# you will create an unresolvable circular dependency during startup. +# After commenting or uncommenting this line, you must run 'rc-update -u'. +#rc_use="logger" diff --git a/etc/conf.d/iptables b/etc/conf.d/iptables new file mode 100644 index 0000000..d5055e0 --- /dev/null +++ b/etc/conf.d/iptables @@ -0,0 +1,27 @@ +# /etc/conf.d/iptables + +# Set wait option for xtables lock in seconds +# DEFAULT: 60 +#IPTABLES_LOCK_WAIT_TIME="60" + +# Set wait interval option for xtables lock in microseconds +# DEFAULT: 1000 +#IPTABLES_LOCK_WAIT_INTERVAL="1000" + +# Location in which iptables initscript will save set rules on +# service shutdown +IPTABLES_SAVE="/var/lib/iptables/rules-save" + +# Options to pass to iptables-save and iptables-restore +SAVE_RESTORE_OPTIONS="-c" + +# Save state on stopping iptables +SAVE_ON_STOP="yes" + +# If you need to log iptables messages as soon as iptables starts, +# AND your logger does NOT depend on the network, then you may wish +# to uncomment the next line. +# If your logger depends on the network, and you uncomment this line +# you will create an unresolvable circular dependency during startup. +# After commenting or uncommenting this line, you must run 'rc-update -u'. +#rc_use="logger" diff --git a/etc/conf.d/irqbalance b/etc/conf.d/irqbalance new file mode 100644 index 0000000..2761cfc --- /dev/null +++ b/etc/conf.d/irqbalance @@ -0,0 +1,19 @@ +# /etc/conf.d/irqbalance: config file for /etc/init.d/irqbalance + +# Additional options to pass to irqbalance itself. +IRQBALANCE_OPTS="" + +# These are envvars used by irqbalance itself, so make sure the "export" +# is retained. For more info, please see the irqbalance manpage. + +# Run irqbalance once and then exit +#export IRQBALANCE_ONESHOT="0" + +# Include debug messages in output +#export IRQBALANCE_DEBUG="0" + +# List of cpus to not include in balancing +#export IRQBALANCE_BANNED_CPUS="" + +# List of interrupts to not include in balancing +#export IRQBALANCE_BANNED_INTERRUPTS="" diff --git a/etc/conf.d/keymaps b/etc/conf.d/keymaps new file mode 100644 index 0000000..e454433 --- /dev/null +++ b/etc/conf.d/keymaps @@ -0,0 +1,23 @@ +# Use keymap to specify the default console keymap. There is a complete tree +# of keymaps in /usr/share/keymaps to choose from. +keymap="us" + +# Should we first load the 'windowkeys' console keymap? Most x86 users will +# say "yes" here. Note that non-x86 users should leave it as "no". +# Loading this keymap will enable VT switching (like ALT+Left/Right) +# using the special windows keys on the linux console. +windowkeys="YES" + +# The maps to load for extended keyboards. Most users will leave this as is. +extended_keymaps="" +#extended_keymaps="backspace keypad euro2" + +# Tell dumpkeys(1) to interpret character action codes to be +# from the specified character set. +# This only matters if you set unicode="yes" in /etc/rc.conf. +# For a list of valid sets, run `dumpkeys --help` +dumpkeys_charset="" + +# Some fonts map AltGr-E to the currency symbol instead of the Euro. +# To fix this, set to "yes" +fix_euro="NO" diff --git a/etc/conf.d/killprocs b/etc/conf.d/killprocs new file mode 100644 index 0000000..76a2bc9 --- /dev/null +++ b/etc/conf.d/killprocs @@ -0,0 +1,6 @@ +# If you wish to pass any options to kill_all during shutdown, +# you should do so here. +# +# The setting is called killall5_opts because the options here are meant +# to be identical to those you could pass to killall5. +killall5_opts="" diff --git a/etc/conf.d/lm_sensors b/etc/conf.d/lm_sensors new file mode 100644 index 0000000..bae2ea0 --- /dev/null +++ b/etc/conf.d/lm_sensors @@ -0,0 +1,4 @@ +# /etc/conf.d/lm_sensors + +# NOTE: +# For module loading please use /etc/modules-load.d/lm_sensors.conf diff --git a/etc/conf.d/localmount b/etc/conf.d/localmount new file mode 100644 index 0000000..25ca3cd --- /dev/null +++ b/etc/conf.d/localmount @@ -0,0 +1,10 @@ +# Stop the unmounting of certain points. +# This could be useful for some NFS related work. +#no_umounts="/dir1:/var/dir2" +# +# Mark certain mount points as critical. +# This contains a space separated list of mount points which should be +# considered critical. If one of these mount points cannot be mounted, +# localmount will fail. +# By default, this is empty. +#critical_mounts="/home /var" diff --git a/etc/conf.d/lvm b/etc/conf.d/lvm new file mode 100644 index 0000000..b29e170 --- /dev/null +++ b/etc/conf.d/lvm @@ -0,0 +1,9 @@ +# If LVM is built with udev, you must ensure udev is running first! +# Otherwise it will hang +rc_need="udev" + +# LVM should normally only be started after mdraid is available +# this is because LVM physical volumes are very often MD devices. +rc_after="mdraid" + +# vim: ft=gentoo-conf-d diff --git a/etc/conf.d/modules b/etc/conf.d/modules new file mode 100644 index 0000000..d13ff89 --- /dev/null +++ b/etc/conf.d/modules @@ -0,0 +1,22 @@ +# Linux users can define a list of modules for a specific kernel version, +# a released kernel version, a main kernel version or all kernel versions. +# The most specific versioned variable will take precedence. +# FreeBSD users can only use the modules="foo bar" setting. +#modules_2_6_23_gentoo_r5="ieee1394 ohci1394" +#modules_2_6_23="tun ieee1394" +#modules_2_6="tun" +#modules_2="ipv6" +#modules="ohci1394" + +# Linux users can give the modules some arguments if needed, per version +# if necessary. +# Again, the most specific versioned variable will take precedence. +# This is not supported on FreeBSD. +#module_ieee1394_args="debug" +#module_ieee1394_args_2_6_23_gentoo_r5="debug2" +#module_ieee1394_args_2_6_23="debug3" +#module_ieee1394_args_2_6="debug4" +#module_ieee1394_args_2="debug5" + +# You should consult your kernel documentation and configuration +# for a list of modules and their options. diff --git a/etc/conf.d/mtab b/etc/conf.d/mtab new file mode 100644 index 0000000..f58fad6 --- /dev/null +++ b/etc/conf.d/mtab @@ -0,0 +1,13 @@ +# As far as we are aware, there are no modern linux tools or use cases +# which require /etc/mtab to be a separate file from /proc/self/mounts, +# so this setting should be commented out. +# If it is set to yes, please comment it out and run this command: +# # rc-service mtab restart +# In the future, the mtab service will be removed since we are not aware +# of any need to manipulate /etc/mtab as a separate file from +# /proc/self/mounts. +# If you have a technical reason we should keep this support, please +# open an issue at https://github.com/openrc/openrc/issues and let us +# know about your situation. +# This setting controls whether /etc/mtab is a file or symbolic link. +# mtab_is_file=no diff --git a/etc/conf.d/net b/etc/conf.d/net new file mode 100644 index 0000000..4e33756 --- /dev/null +++ b/etc/conf.d/net @@ -0,0 +1,7 @@ +modules="!dhclient !dhcpcd udhcpc" + +modules_wlan0="!wireless iwd" +config_wlan0="dhcp" + +modules_eth0="!ifplugd netplug" +config_eth0="dhcp" diff --git a/etc/conf.d/net-online b/etc/conf.d/net-online new file mode 100644 index 0000000..9abe9ea --- /dev/null +++ b/etc/conf.d/net-online @@ -0,0 +1,18 @@ +# The interfaces setting controls which interfaces the net-online +# service considers in deciding whether the network is active. The +# default is all interfaces that support ethernet. +#interfaces="" + +# This setting controls whether a ping test is included in the test for +# network connectivity after all interfaces are active. +#include_ping_test=no + +# This setting is the host to attempt to ping if the above is yes. +# The default is google.com. +#ping_test_host=some.host.name + +# The timeout setting controls how long the net-online service waits +# for the network to be configured. +# The default is 120 seconds. +# if this is set to 0, the wait is infinite. +#timeout=120 diff --git a/etc/conf.d/netmount b/etc/conf.d/netmount new file mode 100644 index 0000000..e759adf --- /dev/null +++ b/etc/conf.d/netmount @@ -0,0 +1,47 @@ +# You will need to set the dependencies in the netmount script to match +# the network configuration tools you are using. This should be done in +# this file by following the examples below, and not by changing the +# service script itself. +# +# Each of these examples is meant to be used separately. So, for +# example, do not set rc_need to something like "net.eth0 dhcpcd". +# +# If you are using newnet and configuring your interfaces with static +# addresses with the network script, you should use this setting. +# +#rc_need="network" +# +# If you are using oldnet, you must list the specific net.* services you +# need. +# +# This example assumes all of your netmounts can be reached on +# eth0. +# +#rc_need="net.eth0" +# +# This example assumes some of your netmounts are on eth1 and some +# are on eth2. +# +#rc_need="net.eth1 net.eth2" +# +# If you are using a dynamic network management tool like +# NetworkManager, dhcpcd in standalone mode, wicd, badvpn-ncd, etc, to +# manage the network interfaces with the routes to your netmounts, you +# should list that tool. +# +#rc_need="NetworkManager" +#rc_need="dhcpcd" +#rc_need="wicd" +# +# The default setting is designed to be backward compatible with our +# current setup, but you are highly discouraged from using this. In +# other words, please change it to be more suited to your system. +# +rc_need="net" +# +# Mark certain mount points as critical. +# This contains aspace separated list of mount points which should be +# considered critical. If one of these mount points cannot be mounted, +# netmount will fail. +# By default, this is empty. +#critical_mounts="/home /var" diff --git a/etc/conf.d/nfs b/etc/conf.d/nfs new file mode 100644 index 0000000..9dc1405 --- /dev/null +++ b/etc/conf.d/nfs @@ -0,0 +1,38 @@ +# /etc/conf.d/nfs + +# If you wish to set the port numbers for lockd, +# please see /etc/sysctl.conf + +# Optional services to include in default `/etc/init.d/nfs start` +# For NFSv4 users, you'll want to add "rpc.idmapd" here. +NFS_NEEDED_SERVICES="" + +# Options to pass to rpc.nfsd +OPTS_RPC_NFSD="8" + +# Options to pass to rpc.mountd +# ex. OPTS_RPC_MOUNTD="-p 32767" +OPTS_RPC_MOUNTD="" + +# Options to pass to rpc.statd +# ex. OPTS_RPC_STATD="-p 32765 -o 32766" +OPTS_RPC_STATD="" + +# Options to pass to rpc.idmapd +OPTS_RPC_IDMAPD="" + +# Options to pass to rpc.gssd +OPTS_RPC_GSSD="" + +# Options to pass to rpc.svcgssd +OPTS_RPC_SVCGSSD="" + +# Options to pass to rpc.rquotad (requires sys-fs/quota) +OPTS_RPC_RQUOTAD="" + +# Timeout (in seconds) for exportfs +EXPORTFS_TIMEOUT=30 + +# Options to set in the nfsd filesystem (/proc/fs/nfsd/). +# Format is