]> Frank Brehm's Git Trees - config/berta/etc.git/commitdiff
committing changes in /etc after emerge run
authorFrank Brehm <frank@brehm-online.com>
Tue, 23 Jan 2018 17:39:52 +0000 (18:39 +0100)
committerFrank Brehm <frank@brehm-online.com>
Tue, 23 Jan 2018 17:39:52 +0000 (18:39 +0100)
Package changes:

55 files changed:
.etckeeper
conf.d/agetty [deleted file]
conf.d/bootmisc [deleted file]
conf.d/consolefont [deleted file]
conf.d/devfs [deleted file]
conf.d/dmesg [deleted file]
conf.d/fsck [deleted file]
conf.d/hostname [deleted file]
conf.d/hwclock [deleted file]
conf.d/keymaps [deleted file]
conf.d/killprocs [deleted file]
conf.d/localmount [deleted file]
conf.d/net-online [deleted file]
conf.d/netmount [deleted file]
conf.d/swap [deleted file]
conf.d/urandom [deleted file]
init.d/agetty [deleted file]
init.d/binfmt [deleted file]
init.d/bootmisc [deleted file]
init.d/consolefont [deleted file]
init.d/devfs [deleted file]
init.d/dmesg [deleted file]
init.d/fsck [deleted file]
init.d/functions.sh [deleted symlink]
init.d/hostname [deleted file]
init.d/hwclock [deleted file]
init.d/keymaps [deleted file]
init.d/killprocs [deleted file]
init.d/local [deleted file]
init.d/localmount [deleted file]
init.d/loopback [deleted file]
init.d/modules [deleted file]
init.d/modules-load [deleted file]
init.d/mount-ro [deleted file]
init.d/net-online [deleted file]
init.d/netmount [deleted file]
init.d/numlock [deleted file]
init.d/osclock [deleted file]
init.d/procfs [deleted file]
init.d/root [deleted file]
init.d/runsvdir [deleted file]
init.d/s6-svscan [deleted file]
init.d/savecache [deleted file]
init.d/swap [deleted file]
init.d/swclock [deleted file]
init.d/sysctl [deleted file]
init.d/sysfs [deleted file]
init.d/termencoding [deleted file]
init.d/urandom [deleted file]
local.d/README [deleted file]
logrotate.d/openrc [deleted file]
pam.d/start-stop-daemon [deleted file]
pam.d/supervise-daemon [deleted file]
rc.conf [deleted file]
sysctl.d/README [deleted file]

index b249ed3a535b48f2aeba7ef2647582ff468fa8e9..9d0c696a3da91edfa318367b41433efbdcfb66a9 100755 (executable)
@@ -91,29 +91,18 @@ maybe chmod 0644 'colordiffrc'
 maybe chmod 0644 'colordiffrc-gitdiff'
 maybe chmod 0644 'colordiffrc-lightbg'
 maybe chmod 0755 'conf.d'
-maybe chmod 0644 'conf.d/agetty'
 maybe chmod 0644 'conf.d/apache2'
 maybe chmod 0644 'conf.d/auditd'
-maybe chmod 0644 'conf.d/bootmisc'
 maybe chmod 0644 'conf.d/busybox-klogd'
 maybe chmod 0644 'conf.d/busybox-ntpd'
 maybe chmod 0644 'conf.d/busybox-syslogd'
 maybe chmod 0644 'conf.d/busybox-watchdog'
-maybe chmod 0644 'conf.d/consolefont'
 maybe chmod 0644 'conf.d/cronie'
-maybe chmod 0644 'conf.d/devfs'
 maybe chmod 0644 'conf.d/device-mapper'
-maybe chmod 0644 'conf.d/dmesg'
-maybe chmod 0644 'conf.d/fsck'
 maybe chmod 0644 'conf.d/git-daemon'
 maybe chmod 0644 'conf.d/gpm'
-maybe chmod 0644 'conf.d/hostname'
-maybe chmod 0644 'conf.d/hwclock'
 maybe chmod 0644 'conf.d/ip6tables'
 maybe chmod 0644 'conf.d/iptables'
-maybe chmod 0644 'conf.d/keymaps'
-maybe chmod 0644 'conf.d/killprocs'
-maybe chmod 0644 'conf.d/localmount'
 maybe chmod 0644 'conf.d/lvm'
 maybe chmod 0644 'conf.d/mit-krb5kadmind'
 maybe chmod 0644 'conf.d/mit-krb5kdc'
@@ -121,8 +110,6 @@ maybe chmod 0644 'conf.d/mit-krb5kpropd'
 maybe chmod 0644 'conf.d/modules'
 maybe chmod 0644 'conf.d/mysql'
 maybe chmod 0644 'conf.d/mysql-s6'
-maybe chmod 0644 'conf.d/net-online'
-maybe chmod 0644 'conf.d/netmount'
 maybe chmod 0644 'conf.d/pciparm'
 maybe chmod 0644 'conf.d/php-fpm'
 maybe chmod 0644 'conf.d/postgresql-10'
@@ -139,12 +126,10 @@ maybe chmod 0644 'conf.d/snmpd'
 maybe chmod 0644 'conf.d/snmptrapd'
 maybe chmod 0644 'conf.d/sshd'
 maybe chmod 0644 'conf.d/svnserve'
-maybe chmod 0644 'conf.d/swap'
 maybe chmod 0644 'conf.d/tmpfiles'
 maybe chmod 0644 'conf.d/udev'
 maybe chmod 0644 'conf.d/udev-settle'
 maybe chmod 0644 'conf.d/udev-trigger'
-maybe chmod 0644 'conf.d/urandom'
 maybe chmod 0700 'config-archive'
 maybe chmod 0755 'config-archive/etc'
 maybe chmod 0755 'config-archive/etc/apache2'
@@ -414,81 +399,49 @@ maybe chmod 0644 'idn.conf.sample'
 maybe chmod 0644 'idnalias.conf'
 maybe chmod 0644 'idnalias.conf.sample'
 maybe chmod 0755 'init.d'
-maybe chmod 0755 'init.d/agetty'
 maybe chmod 0755 'init.d/apache2'
 maybe chmod 0755 'init.d/auditd'
-maybe chmod 0755 'init.d/binfmt'
-maybe chmod 0755 'init.d/bootmisc'
 maybe chmod 0755 'init.d/busybox-klogd'
 maybe chmod 0755 'init.d/busybox-ntpd'
 maybe chmod 0755 'init.d/busybox-syslogd'
 maybe chmod 0755 'init.d/busybox-watchdog'
-maybe chmod 0755 'init.d/consolefont'
 maybe chmod 0755 'init.d/cronie'
 maybe chmod 0755 'init.d/dbus'
-maybe chmod 0755 'init.d/devfs'
 maybe chmod 0755 'init.d/device-mapper'
-maybe chmod 0755 'init.d/dmesg'
 maybe chmod 0755 'init.d/dmeventd'
-maybe chmod 0755 'init.d/fsck'
 maybe chmod 0755 'init.d/git-daemon'
 maybe chmod 0755 'init.d/gpm'
-maybe chmod 0755 'init.d/hostname'
-maybe chmod 0755 'init.d/hwclock'
 maybe chmod 0755 'init.d/ip6tables'
 maybe chmod 0755 'init.d/iptables'
-maybe chmod 0755 'init.d/keymaps'
-maybe chmod 0755 'init.d/killprocs'
 maybe chmod 0755 'init.d/kmod-static-nodes'
-maybe chmod 0755 'init.d/local'
-maybe chmod 0755 'init.d/localmount'
-maybe chmod 0755 'init.d/loopback'
 maybe chmod 0755 'init.d/lvm'
 maybe chmod 0755 'init.d/lvm-monitoring'
 maybe chmod 0755 'init.d/lvmetad'
 maybe chmod 0755 'init.d/mit-krb5kadmind'
 maybe chmod 0755 'init.d/mit-krb5kdc'
 maybe chmod 0755 'init.d/mit-krb5kpropd'
-maybe chmod 0755 'init.d/modules'
-maybe chmod 0755 'init.d/modules-load'
-maybe chmod 0755 'init.d/mount-ro'
 maybe chmod 0755 'init.d/mysql'
 maybe chmod 0755 'init.d/mysql-s6'
 maybe chmod 0755 'init.d/mysql-supervise'
-maybe chmod 0755 'init.d/net-online'
 maybe chmod 0755 'init.d/net.lo'
-maybe chmod 0755 'init.d/netmount'
-maybe chmod 0755 'init.d/numlock'
-maybe chmod 0755 'init.d/osclock'
 maybe chmod 0755 'init.d/pciparm'
 maybe chmod 0755 'init.d/php-fpm'
 maybe chmod 0755 'init.d/postgresql-10'
-maybe chmod 0755 'init.d/procfs'
 maybe chmod 0755 'init.d/pwcheck'
 maybe chmod 0755 'init.d/pydoc-2.7'
 maybe chmod 0755 'init.d/pydoc-3.5'
 maybe chmod 0755 'init.d/rarpd'
-maybe chmod 0755 'init.d/root'
 maybe chmod 0755 'init.d/rsyncd'
 maybe chmod 0755 'init.d/rsyslog'
-maybe chmod 0755 'init.d/runsvdir'
-maybe chmod 0755 'init.d/s6-svscan'
 maybe chmod 0755 'init.d/saslauthd'
-maybe chmod 0755 'init.d/savecache'
 maybe chmod 0755 'init.d/slapd'
 maybe chmod 0755 'init.d/snmpd'
 maybe chmod 0755 'init.d/snmptrapd'
 maybe chmod 0755 'init.d/sshd'
 maybe chmod 0755 'init.d/svnserve'
-maybe chmod 0755 'init.d/swap'
-maybe chmod 0755 'init.d/swclock'
-maybe chmod 0755 'init.d/sysctl'
-maybe chmod 0755 'init.d/sysfs'
-maybe chmod 0755 'init.d/termencoding'
 maybe chmod 0755 'init.d/udev'
 maybe chmod 0755 'init.d/udev-settle'
 maybe chmod 0755 'init.d/udev-trigger'
-maybe chmod 0755 'init.d/urandom'
 maybe chmod 0644 'initramfs.mounts'
 maybe chmod 0644 'inittab'
 maybe chmod 0644 'inputrc'
@@ -540,8 +493,6 @@ maybe chmod 0755 'ld.so.conf.d'
 maybe chmod 0644 'ld.so.conf.d/05gcc-x86_64-pc-linux-gnu.conf'
 maybe chmod 0440 'ldap.conf.sudo'
 maybe chmod 0640 'libaudit.conf'
-maybe chmod 0755 'local.d'
-maybe chmod 0644 'local.d/README'
 maybe chmod 0644 'locale.conf'
 maybe chmod 0644 'locale.gen'
 maybe chmod 0644 'login.defs'
@@ -551,7 +502,6 @@ maybe chmod 0644 'logrotate.d/.keep_app-admin_logrotate-0'
 maybe chmod 0644 'logrotate.d/apache2'
 maybe chmod 0644 'logrotate.d/elog-save-summary'
 maybe chmod 0644 'logrotate.d/mysql'
-maybe chmod 0644 'logrotate.d/openrc'
 maybe chmod 0644 'logrotate.d/rsyncd'
 maybe chmod 0644 'logrotate.d/rsyslog'
 maybe chmod 0755 'lvm'
@@ -681,10 +631,8 @@ maybe chmod 0644 'pam.d/runuser-l'
 maybe chmod 0644 'pam.d/saslauthd'
 maybe chmod 0644 'pam.d/shadow'
 maybe chmod 0644 'pam.d/sshd'
-maybe chmod 0644 'pam.d/start-stop-daemon'
 maybe chmod 0644 'pam.d/su'
 maybe chmod 0644 'pam.d/sudo'
-maybe chmod 0644 'pam.d/supervise-daemon'
 maybe chmod 0644 'pam.d/system-auth'
 maybe chmod 0644 'pam.d/system-local-login'
 maybe chmod 0644 'pam.d/system-login'
@@ -1925,7 +1873,6 @@ maybe chmod 0644 'puppetlabs/puppet/ssl/public_keys/berta.pixelpark.com.pem'
 maybe chmod 0755 'python-exec'
 maybe chmod 0644 'python-exec/python-exec.conf'
 maybe chmod 0644 'quilt.quiltrc'
-maybe chmod 0644 'rc.conf'
 maybe chmod 0644 'request-key.conf'
 maybe chmod 0755 'request-key.d'
 maybe chmod 0644 'resolv.conf'
@@ -2038,7 +1985,6 @@ maybe chmod 0750 'sudoers.d'
 maybe chmod 0440 'sudoers.dist'
 maybe chmod 0644 'sysctl.conf'
 maybe chmod 0755 'sysctl.d'
-maybe chmod 0644 'sysctl.d/README'
 maybe chmod 0755 'systemd'
 maybe chmod 0644 'systemd/coredump.conf'
 maybe chmod 0644 'systemd/journal-upload.conf'
diff --git a/conf.d/agetty b/conf.d/agetty
deleted file mode 100644 (file)
index 03acee6..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-# 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/conf.d/bootmisc b/conf.d/bootmisc
deleted file mode 100644 (file)
index dd5b08e..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-# 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/conf.d/consolefont b/conf.d/consolefont
deleted file mode 100644 (file)
index e01ae84..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-# 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/conf.d/devfs b/conf.d/devfs
deleted file mode 100644 (file)
index 51f8037..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-# 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/conf.d/dmesg b/conf.d/dmesg
deleted file mode 100644 (file)
index cd4b8b3..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-# 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/conf.d/fsck b/conf.d/fsck
deleted file mode 100644 (file)
index 30131ea..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-# 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/conf.d/hostname b/conf.d/hostname
deleted file mode 100644 (file)
index ebdc8f1..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-# Set to the hostname of this machine
-hostname="localhost"
diff --git a/conf.d/hwclock b/conf.d/hwclock
deleted file mode 100644 (file)
index ce9b40a..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-# 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/conf.d/keymaps b/conf.d/keymaps
deleted file mode 100644 (file)
index e454433..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-# 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/conf.d/killprocs b/conf.d/killprocs
deleted file mode 100644 (file)
index 76a2bc9..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-# 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/conf.d/localmount b/conf.d/localmount
deleted file mode 100644 (file)
index 25ca3cd..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-# 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/conf.d/net-online b/conf.d/net-online
deleted file mode 100644 (file)
index 9abe9ea..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-# 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/conf.d/netmount b/conf.d/netmount
deleted file mode 100644 (file)
index e759adf..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-# 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/conf.d/swap b/conf.d/swap
deleted file mode 100644 (file)
index 17bd034..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-# If you are only using local swap partitions, you should not change
-# this file. Otherwise, you need to uncomment the below rc_before line
-# followed by the appropriate rc_need line.
-#rc_before="!localmount"
-#
-# If you are using swap files stored on local file systems, uncomment
-# this line.
-#rc_need="localmount"
-#
-# If you are using swap files stored on network file systems or swap
-# partitions stored on network block devices such as iSCSI, uncomment
-# this line.
-#rc_need="netmount"
diff --git a/conf.d/urandom b/conf.d/urandom
deleted file mode 100644 (file)
index f721a24..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-# Sometimes you want to have urandom start before "localmount"
-# (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/lib/misc/random-seed"
diff --git a/init.d/agetty b/init.d/agetty
deleted file mode 100755 (executable)
index 79043e8..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-#!/sbin/openrc-run
-# Copyright (c) 2017 The OpenRC Authors.
-# See the Authors file at the top-level directory of this distribution and
-# https://github.com/OpenRC/openrc/blob/master/AUTHORS
-#
-# This file is part of OpenRC. It is subject to the license terms in
-# the LICENSE file found in the top-level directory of this
-# distribution and at https://github.com/OpenRC/openrc/blob/master/LICENSE
-# This file may not be copied, modified, propagated, or distributed
-# except according to the terms contained in the LICENSE file.
-
-description="start agetty on a terminal line"
-supervisor=supervise-daemon
-port="${RC_SVCNAME#*.}"
-term_type="${term_type:-linux}"
-command=/sbin/agetty
-command_args_foreground="${agetty_options} ${port} ${baud} ${term_type}"
-pidfile="/run/${RC_SVCNAME}.pid"
-export EINFO_QUIET="${quiet:-yes}"
-
-depend() {
-       after local
-       keyword -prefix
-}
-
-start_pre() {
-       if [ -z "$port" ]; then
-               eerror "${RC_SVCNAME} cannot be started directly. You must create"
-               eerror "symbolic links to it for the ports you want to start"
-               eerror "agetty on and add those to the appropriate runlevels."
-               return 1
-       fi
-}
diff --git a/init.d/binfmt b/init.d/binfmt
deleted file mode 100755 (executable)
index 8b8b19f..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/sbin/openrc-run
-# Copyright (c) 2015 The OpenRC Authors.
-# See the Authors file at the top-level directory of this distribution and
-# https://github.com/OpenRC/openrc/blob/master/AUTHORS
-#
-# This file is part of OpenRC. It is subject to the license terms in
-# the LICENSE file found in the top-level directory of this
-# distribution and at https://github.com/OpenRC/openrc/blob/master/LICENSE
-# This file may not be copied, modified, propagated, or distributed
-# except according to the terms contained in the LICENSE file.
-
-description="Register misc binary format handlers"
-
-depend()
-{
-       after clock procfs
-       use modules devfs
-       keyword -docker -lxc -openvz -prefix -systemd-nspawn -vserver
-}
-
-start()
-{
-       ebegin "Loading custom binary format handlers"
-       "$RC_LIBEXECDIR"/sh/binfmt.sh
-       eend $?
-       return 0
-}
diff --git a/init.d/bootmisc b/init.d/bootmisc
deleted file mode 100755 (executable)
index 976ec19..0000000
+++ /dev/null
@@ -1,253 +0,0 @@
-#!/sbin/openrc-run
-# Copyright (c) 2007-2015 The OpenRC Authors.
-# See the Authors file at the top-level directory of this distribution and
-# https://github.com/OpenRC/openrc/blob/master/AUTHORS
-#
-# This file is part of OpenRC. It is subject to the license terms in
-# the LICENSE file found in the top-level directory of this
-# distribution and at https://github.com/OpenRC/openrc/blob/master/LICENSE
-# This file may not be copied, modified, propagated, or distributed
-# except according to the terms contained in the LICENSE file.
-
-depend()
-{
-       need localmount
-       before logger
-       after clock root sysctl
-       keyword -prefix -timeout
-}
-
-: ${wipe_tmp:=${WIPE_TMP:-yes}}
-: ${log_dmesg:=${LOG_DMESG:-yes}}
-
-cleanup_tmp_dir()
-{
-       local dir="$1"
-
-       if ! [ -d "$dir" ]; then
-               mkdir -p "$dir" || return $?
-       fi
-       checkpath -W "$dir" || return 1
-       chmod a+rwt "$dir" 2> /dev/null
-       cd "$dir" || return 1
-       if yesno $wipe_tmp; then
-               ebegin "Wiping $dir directory"
-
-               # Faster than raw find
-               if ! rm -rf -- [!ajlq\.]* 2>/dev/null ; then
-                       # Blah, too many files
-                       find . -maxdepth 1 -name '[!ajlq\.]*' -exec rm -rf -- {} +
-               fi
-
-               # pam_mktemp creates a .private directory within which
-               # each user gets a private directory with immutable
-               # bit set; remove the immutable bit before trying to
-               # remove it.
-               [ -d /tmp/.private ] && chattr -R -a /tmp/.private 2> /dev/null
-
-               # Prune the paths that are left
-               find . -maxdepth 1 \
-                       ! -name . \
-                       ! -name lost+found \
-                       ! -name quota.user \
-                       ! -name aquota.user \
-                       ! -name quota.group \
-                       ! -name aquota.group \
-                       ! -name journal \
-                       -exec rm -rf -- {} +
-               eend 0
-       else
-               ebegin "Cleaning $dir directory"
-               rm -rf -- .X*-lock esrv* kio* \
-                       jpsock.* .fam* .esd* \
-                       orbit-* ssh-* ksocket-* \
-                       .*-unix
-               eend 0
-       fi
-}
-
-cleanup_var_run_dir()
-{
-       ebegin "Cleaning /var/run"
-       for x in $(find /var/run ! -type d ! -name utmp \
-               ! -name random-seed ! -name dev.db \
-               ! -name ld-elf.so.hints ! -name ld-elf32.so.hints \
-               ! -name ld.so.hints);
-       do
-               # Clean stale sockets
-               if [ -S "$x" ]; then
-                       if command -v fuser >/dev/null 2>&1; then
-                               fuser "$x" >/dev/null 2>&1 || rm -- "$x"
-                       else
-                               rm -- "$x"
-                       fi
-               fi
-               [ ! -f "$x" ] && continue
-               # Do not remove pidfiles of already running daemons
-               case "$x" in
-                       *.pid)
-                               start-stop-daemon --test --quiet \
-                               --stop --pidfile "$x" && continue
-                       ;;
-               esac
-               rm -f -- "$x"
-       done
-       eend 0
-}
-
-mkutmp()
-{
-       : >"$1"
-       # Not all systems have the utmp group
-       chgrp utmp "$1" 2>/dev/null
-       chmod 0664 "$1"
-}
-
-migrate_to_run()
-{
-       src="$1"
-       dst="$2"
-       if [ -L $src -a "$(readlink -f $src)" != $dst ]; then
-               ewarn "$src does not point to $dst."
-               ewarn "Setting $src to point to $dst."
-               rm $src
-       elif [ ! -L $src -a -d $src ]; then
-               ebegin "Migrating $src to $dst"
-               cp -a $src/* $dst/
-               rm -rf $src
-               eend $?
-       fi
-       # If $src doesn't exist at all, just run this
-       if [ ! -e $src ]; then
-               ln -s $dst $src
-       fi
-}
-
-clean_run()
-{
-       [ "$RC_SYS" = VSERVER -o "$RC_SYS" = LXC ] && return 0
-       local dir
-       # If / is still read-only due to a problem, this will fail!
-       if ! checkpath -W /; then
-               ewarn "/ is not writable; unable to clean up underlying /run"
-               return 1
-       fi
-       if ! checkpath -W /tmp; then
-               ewarn "/tmp is not writable; unable to clean up underlying /run"
-               return 1
-       fi
-       # Now we know that we can modify /tmp and /
-       # if mktemp -d fails, it returns an EMPTY string
-       # STDERR: mktemp: failed to create directory via template â€˜/tmp/tmp.XXXXXXXXXX’: Read-only file system
-       # STDOUT: ''
-       rc=0
-       dir=$(mktemp -d)
-       if [ -n "$dir" -a -d $dir -a -w $dir ]; then
-               mount --bind / $dir && rm -rf $dir/run/* || rc=1
-               umount $dir && rmdir $dir
-       else
-               rc=1
-       fi
-       if [ $rc -ne 0 ]; then
-               ewarn "Could not clean up underlying /run on /"
-               return 1
-       fi
-}
-
-start()
-{
-       # Remove any added console dirs
-       if checkpath -W "$RC_LIBEXECDIR"; then
-               rm -rf "$RC_LIBEXECDIR"/console/*
-       fi
-
-       local logw=false runw=false extra=
-       # Ensure that our basic dirs exist
-       if [ "$RC_UNAME" = Linux ]; then
-               # Satisfy Linux FHS
-               extra=/var/lib/misc
-               if [ ! -d /run ]; then
-                       extra="/var/run $extra"
-               fi
-       else
-               extra=/var/run
-       fi
-       for x in /var/log /tmp $extra; do
-               if ! [ -d $x ]; then
-                       if ! mkdir -p $x; then
-                               eend 1 "failed to create needed directory $x"
-                               return 1
-                       fi
-               fi
-       done
-
-       if [ "$RC_UNAME" = Linux -a -d /run ]; then
-               migrate_to_run  /var/lock /run/lock
-               migrate_to_run  /var/run /run
-               clean_run
-       fi
-
-       if checkpath -W /var/run; then
-               ebegin "Creating user login records"
-               local xtra=
-               [ "$RC_UNAME" = NetBSD ] && xtra=x
-               for x in "" $xtra; do
-                       mkutmp /var/run/utmp$x
-               done
-               [ -e /var/log/wtmp ] || mkutmp /var/log/wtmp
-               eend 0
-
-               mountinfo -q -f tmpfs /var/run || cleanup_var_run_dir
-       fi
-
-       # Clean up /tmp directories
-       local tmp=
-       for tmp in ${clean_tmp_dirs:-${wipe_tmp_dirs-/tmp}}; do
-               mountinfo -q -f tmpfs "$tmp" || cleanup_tmp_dir "$tmp"
-       done
-
-       if checkpath -W /tmp; then
-               # Make sure our X11 stuff have the correct permissions
-               # Omit the chown as bootmisc is run before network is up
-               # and users may be using lame LDAP auth #139411
-               rm -rf /tmp/.ICE-unix /tmp/.X11-unix
-               mkdir -p /tmp/.ICE-unix /tmp/.X11-unix
-               chmod 1777 /tmp/.ICE-unix /tmp/.X11-unix
-               if [ -x /sbin/restorecon ]; then
-                       restorecon /tmp/.ICE-unix /tmp/.X11-unix
-               fi
-       fi
-
-       if yesno $log_dmesg; then
-               if $logw || checkpath -W /var/log; then
-                       # Create an 'after-boot' dmesg log
-                       case "$RC_SYS" in
-                               VSERVER|OPENVZ|LXC|SYSTEMD-NSPAWN) ;;
-                               *)
-                                       if yesno ${previous_dmesg:-no}; then
-                                               mv /var/log/dmesg /var/log/dmesg.old
-                                       fi
-                                       dmesg > /var/log/dmesg
-                                       chmod 640 /var/log/dmesg
-                                       ;;
-                       esac
-               fi
-       fi
-
-       return 0
-}
-
-stop()
-{
-       # Write a halt record if we're shutting down
-       if [ "$RC_RUNLEVEL" = shutdown ]; then
-               [ "$RC_UNAME" = Linux ] && openrc-shutdown -w
-               if [ "$RC_SYS" = OPENVZ ]; then
-                       yesno $RC_REBOOT && printf "" >/reboot
-               fi
-       fi
-
-       return 0
-}
-
-# vim: ft=sh
diff --git a/init.d/consolefont b/init.d/consolefont
deleted file mode 100755 (executable)
index 63d8601..0000000
+++ /dev/null
@@ -1,70 +0,0 @@
-#!/sbin/openrc-run
-# Copyright (c) 2007-2015 The OpenRC Authors.
-# See the Authors file at the top-level directory of this distribution and
-# https://github.com/OpenRC/openrc/blob/master/AUTHORS
-#
-# This file is part of OpenRC. It is subject to the license terms in
-# the LICENSE file found in the top-level directory of this
-# distribution and at https://github.com/OpenRC/openrc/blob/master/LICENSE
-# This file may not be copied, modified, propagated, or distributed
-# except according to the terms contained in the LICENSE file.
-
-description="Sets a font for the consoles."
-
-depend()
-{
-       need localmount termencoding
-       after hotplug bootmisc modules
-       keyword -docker -lxc -openvz -prefix -systemd-nspawn -uml -vserver -xenu
-}
-
-start()
-{
-       ttyn=${rc_tty_number:-${RC_TTY_NUMBER:-12}}
-       consolefont=${consolefont:-${CONSOLEFONT}}
-       unicodemap=${unicodemap:-${UNICODEMAP}}
-       consoletranslation=${consoletranslation:-${CONSOLETRANSLATION}}
-
-       if [ -z "$consolefont" ]; then
-               ebegin "Using the default console font"
-               eend 0
-               return 0
-       fi
-
-       if [ "$ttyn" = 0 ]; then
-               ebegin "Skipping font setup (rc_tty_number == 0)"
-               eend 0
-               return 0
-       fi
-
-       local x= param= sf_param= retval=0 ttydev=/dev/tty
-
-       # Get additional parameters
-       if [ -n "$consoletranslation" ]; then
-               param="$param -m $consoletranslation"
-       fi
-       if [ -n "${unicodemap}" ]; then
-               param="$param -u $unicodemap"
-       fi
-
-       # Set the console font
-       ebegin "Setting console font [$consolefont]"
-       [ -d /dev/vc ] && ttydev=/dev/vc/
-       x=1
-       while [ $x -le $ttyn ]; do
-               if ! setfont $consolefont $param -C $ttydev$x >/dev/null; then
-                       retval=1
-                       break
-               fi
-               : $(( x += 1 ))
-       done
-       eend $retval
-
-       # Store the font so we can use it ASAP on boot
-       if [ $retval -eq 0 ] && checkpath -W "$RC_LIBEXECDIR"; then
-               mkdir -p "$RC_LIBEXECDIR"/console
-               setfont -O "$RC_LIBEXECDIR"/console/font
-       fi
-
-       return $retval
-}
diff --git a/init.d/devfs b/init.d/devfs
deleted file mode 100755 (executable)
index 97b1804..0000000
+++ /dev/null
@@ -1,128 +0,0 @@
-#!/sbin/openrc-run
-# Copyright (c) 2007-2015 The OpenRC Authors.
-# See the Authors file at the top-level directory of this distribution and
-# https://github.com/OpenRC/openrc/blob/master/AUTHORS
-#
-# This file is part of OpenRC. It is subject to the license terms in
-# the LICENSE file found in the top-level directory of this
-# distribution and at https://github.com/OpenRC/openrc/blob/master/LICENSE
-# This file may not be copied, modified, propagated, or distributed
-# except according to the terms contained in the LICENSE file.
-
-description="Set up the /dev directory"
-
-depend()
-{
-       provide dev-mount
-       before dev
-       keyword -docker -lxc -prefix -systemd-nspawn -vserver
-}
-
-mount_dev()
-{
-       local action=--mount devfstype msg=Mounting
-       # Some devices require exec, Bug #92921
-       local mountopts="exec,nosuid,mode=0755"
-       if yesno ${skip_mount_dev:-no} ; then
-               einfo "/dev will not be mounted due to user request"
-               return 0
-       fi
-       if mountinfo -q /dev; then
-               action=--remount
-               mountopts="remount,$mountopts"
-               msg=Remounting
-       fi
-       if fstabinfo -q /dev; then
-               ebegin "$msg /dev according to /etc/fstab"
-               fstabinfo -q $action /dev
-               eend $?
-               return 0
-       fi
-       if grep -q devtmpfs /proc/filesystems; then
-               devfstype=devtmpfs
-               mountopts="$mountopts,size=10M"
-       elif grep -q tmpfs /proc/filesystems; then
-               devfstype=tmpfs
-               mountopts="$mountopts,size=10M"
-       fi
-       if [ -n "$devfstype" ]; then
-               ebegin "$msg $devfstype on /dev"
-               mount -n -t $devfstype -o $mountopts dev /dev
-               eend $?
-       else
-               ewarn "This kernel does not have devtmpfs or tmpfs support, and there"
-               ewarn "is no entry for /dev in fstab."
-               ewarn "This means /dev will not be mounted."
-               ewarn "To avoid this message, set CONFIG_DEVTMPFS or CONFIG_TMPFS to y"
-               ewarn "in your kernel configuration or see /etc/conf.d/devfs"
-       fi
-       return 0
-}
-
-seed_dev()
-{
-       # Seed /dev with some things that we know we need
-
-       # creating /dev/console, /dev/tty and /dev/tty1 to be able to write
-       # to $CONSOLE with/without bootsplash before udevd creates it
-       [ -c /dev/console ] || mknod -m 600 /dev/console c 5 1
-       [ -c /dev/tty1 ] || mknod -m 620 /dev/tty1 c 4 1
-       [ -c /dev/tty ] || mknod -m 666 /dev/tty c 5 0
-
-       # udevd will dup its stdin/stdout/stderr to /dev/null
-       # and we do not want a file which gets buffered in ram
-       [ -c /dev/null ] || mknod -m 666 /dev/null c 1 3
-
-       # so udev can add its start-message to dmesg
-       [ -c /dev/kmsg ] || mknod -m 660 /dev/kmsg c 1 11
-
-       # extra symbolic links not provided by default
-       [ -e /dev/fd ] || ln -snf /proc/self/fd /dev/fd
-       [ -e /dev/stdin ] || ln -snf /proc/self/fd/0 /dev/stdin
-       [ -e /dev/stdout ] || ln -snf /proc/self/fd/1 /dev/stdout
-       [ -e /dev/stderr ] || ln -snf /proc/self/fd/2 /dev/stderr
-       [ -e /proc/kcore ] && ln -snf /proc/kcore /dev/core
-
-       # Mount required directories as user may not have them in /etc/fstab
-       for x in \
-               "mqueue /dev/mqueue 1777 ,nodev mqueue" \
-               "devpts /dev/pts 0755 ,gid=5,mode=0620 devpts" \
-               "tmpfs /dev/shm 1777 ,nodev,mode=1777 shm" \
-       ; do
-               set -- $x
-               grep -Eq "[[:space:]]+$1$" /proc/filesystems || continue
-               mountinfo -q $2 && continue
-
-               if [ ! -d $2 ]; then
-                       mkdir -m $3 -p $2 >/dev/null 2>&1 || \
-                               ewarn "Could not create $2!"
-               fi
-
-               if [ -d $2 ]; then
-                       ebegin "Mounting $2"
-                       if ! fstabinfo --mount $2; then
-                               mount -n -t $1 -o noexec,nosuid$4 $5 $2
-                       fi
-                       eend $?
-               fi
-       done
-}
-
-restorecon_dev()
-{
-       if [ -x /sbin/restorecon ]; then
-               ebegin "Restoring SELinux contexts in /dev"
-               restorecon -rF /dev >/dev/null 2>&1
-               eend $?
-       fi
-
-       return 0
-}
-
-start()
-{
-       mount_dev
-       seed_dev
-       restorecon_dev
-       return 0
-}
diff --git a/init.d/dmesg b/init.d/dmesg
deleted file mode 100755 (executable)
index bf9f4d5..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-#!/sbin/openrc-run
-# Copyright (c) 2007-2015 The OpenRC Authors.
-# See the Authors file at the top-level directory of this distribution and
-# https://github.com/OpenRC/openrc/blob/master/AUTHORS
-#
-# This file is part of OpenRC. It is subject to the license terms in
-# the LICENSE file found in the top-level directory of this
-# distribution and at https://github.com/OpenRC/openrc/blob/master/LICENSE
-# This file may not be copied, modified, propagated, or distributed
-# except according to the terms contained in the LICENSE file.
-
-description="Set the dmesg level for a cleaner boot"
-
-depend()
-{
-       before dev modules
-       keyword -docker -lxc -prefix -systemd-nspawn -vserver
-}
-
-start()
-{
-       if [ -n "$dmesg_level" ]; then
-               dmesg -n$dmesg_level
-       fi
-}
diff --git a/init.d/fsck b/init.d/fsck
deleted file mode 100755 (executable)
index d4b8da7..0000000
+++ /dev/null
@@ -1,131 +0,0 @@
-#!/sbin/openrc-run
-# Copyright (c) 2007-2015 The OpenRC Authors.
-# See the Authors file at the top-level directory of this distribution and
-# https://github.com/OpenRC/openrc/blob/master/AUTHORS
-#
-# This file is part of OpenRC. It is subject to the license terms in
-# the LICENSE file found in the top-level directory of this
-# distribution and at https://github.com/OpenRC/openrc/blob/master/LICENSE
-# This file may not be copied, modified, propagated, or distributed
-# except according to the terms contained in the LICENSE file.
-
-description="Check and repair filesystems according to /etc/fstab"
-_IFS="
-"
-
-depend()
-{
-       after clock
-       use dev clock modules
-       keyword -docker -jail -lxc -openvz -prefix -systemd-nspawn -timeout -vserver -uml
-}
-
-_abort() {
-       yesno ${fsck_abort_on_errors:-yes} && rc-abort
-       return 1
-}
-
-# We should only reboot when first booting
-_reboot() {
-       if [ "$RC_RUNLEVEL" = "$RC_BOOTLEVEL" ]; then
-               reboot "$@"
-               _abort || return 1
-       fi
-}
-
-_forcefsck()
-{
-       [ -e /forcefsck ] || get_bootparam forcefsck
-}
-
-start()
-{
-       local fsck_opts= p= check_extra=
-
-       if [ -e /fastboot ]; then
-               ewarn "Skipping fsck due to /fastboot"
-               return 0
-       fi
-       if _forcefsck; then
-               fsck_opts="$fsck_opts -f"
-               check_extra="(check forced)"
-       elif ! yesno ${fsck_on_battery:-YES} && ! on_ac_power; then
-               ewarn "Skipping fsck due to not being on AC power"
-               return 0
-       fi
-
-       if [ -n "$fsck_passno" ]; then
-               check_extra="[passno $fsck_passno] $check_extra"
-               if [ -n "$fsck_mnt" ]; then
-                       eerror "Only 1 of fsck_passno and fsck_mnt must be set!"
-                       return 1
-               fi
-       fi
-       ebegin "Checking local filesystems $check_extra"
-       # Append passno mounts
-       for p in $fsck_passno; do
-               local IFS="$_IFS"
-               case "$p" in
-                       [0-9]*) p="=$p";;
-               esac
-               set -- "$@" $(fstabinfo --passno "$p")
-               unset IFS
-       done
-       # Append custom mounts
-       for m in $fsck_mnt ; do
-               local IFS="$_IFS"
-               set -- "$@" "$m"
-               unset IFS
-       done
-
-       if [ "$RC_UNAME" = Linux ]; then
-               local skiptypes
-               skiptypes=$(printf 'no%s,' ${net_fs_list} ${extra_net_fs_list})
-               [ "${skiptypes}" = "no," ] && skiptypes=""
-               fsck_opts="$fsck_opts -C0 -T -t ${skiptypes}noopts=_netdev"
-               if [ -z "$fsck_passno" -a -z "$fsck_mnt" ]; then
-                       fsck_args=${fsck_args:--A -p}
-                       if echo 2>/dev/null >/.test.$$; then
-                               rm -f /.test.$$
-                               fsck_opts="$fsck_opts -R"
-                       fi
-               fi
-       fi
-
-       trap : INT QUIT
-       fsck ${fsck_args:--p} $fsck_opts "$@"
-       case $? in
-       0)      eend 0; return 0;;
-       1)      ewend 1 "Filesystems repaired"; return 0;;
-       2|3)    if [ "$RC_UNAME" = Linux ]; then
-                       ewend 1 "Filesystems repaired, but reboot needed"
-                       _reboot -f
-               else
-                       ewend 1 "Filesystems still have errors;" \
-                               "manual fsck required"
-                       _abort
-               fi;;
-       4)      if [ "$RC_UNAME" = Linux ]; then
-                       ewend 1 "Fileystem errors left uncorrected, aborting"
-                       _abort
-               else
-                       ewend 1 "Filesystems repaired, but reboot needed"
-                       _reboot
-               fi;;
-       8)      ewend 1 "Operational error"; return 0;;
-       12)     ewend 1 "fsck interrupted";;
-       *)      eend 2 "Filesystems couldn't be fixed";;
-       esac
-       _abort || return 1
-}
-
-stop()
-{
-       # Fake function so we always shutdown correctly.
-       _abort() { return 0; }
-       _reboot() { return 0; }
-       _forcefsck() { return 1; }
-
-       yesno $fsck_shutdown && start
-       return 0
-}
diff --git a/init.d/functions.sh b/init.d/functions.sh
deleted file mode 120000 (symlink)
index 7d400a6..0000000
+++ /dev/null
@@ -1 +0,0 @@
-/lib64/rc/sh/functions.sh
\ No newline at end of file
diff --git a/init.d/hostname b/init.d/hostname
deleted file mode 100755 (executable)
index 9b53c61..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-#!/sbin/openrc-run
-# Copyright (c) 2007-2015 The OpenRC Authors.
-# See the Authors file at the top-level directory of this distribution and
-# https://github.com/OpenRC/openrc/blob/master/AUTHORS
-#
-# This file is part of OpenRC. It is subject to the license terms in
-# the LICENSE file found in the top-level directory of this
-# distribution and at https://github.com/OpenRC/openrc/blob/master/LICENSE
-# This file may not be copied, modified, propagated, or distributed
-# except according to the terms contained in the LICENSE file.
-
-description="Sets the hostname of the machine."
-
-depend()
-{
-       after clock
-       keyword -docker -lxc -prefix -systemd-nspawn
-}
-
-start()
-{
-       local h source x
-       if [ -s /etc/hostname ] && [ -r /etc/hostname ]; then
-               read h x </etc/hostname
-               source="from /etc/hostname"
-       else
-               # HOSTNAME variable used to be defined in caps in conf.d/hostname.
-               # It is also a magic variable in bash.
-               h=${hostname:-${HOSTNAME}} # checkbashisms: false positive (HOSTNAME var)
-       fi
-       if [ -z "$h" ]; then
-               einfo "Using default system hostname"
-               return 0
-       fi
-       ebegin "Setting hostname to $h $source"
-       hostname "$h"
-       eend $? "Failed to set the hostname"
-}
diff --git a/init.d/hwclock b/init.d/hwclock
deleted file mode 100755 (executable)
index 944b6aa..0000000
+++ /dev/null
@@ -1,160 +0,0 @@
-#!/sbin/openrc-run
-# Copyright (c) 2007-2015 The OpenRC Authors.
-# See the Authors file at the top-level directory of this distribution and
-# https://github.com/OpenRC/openrc/blob/master/AUTHORS
-#
-# This file is part of OpenRC. It is subject to the license terms in
-# the LICENSE file found in the top-level directory of this
-# distribution and at https://github.com/OpenRC/openrc/blob/master/LICENSE
-# This file may not be copied, modified, propagated, or distributed
-# except according to the terms contained in the LICENSE file.
-
-extra_commands="save show"
-
-description="Sets the local clock to UTC or Local Time."
-description_save="Saves the current time in the BIOS."
-description_show="Displays the current time in the BIOS."
-
-: ${clock_adjfile:=${CLOCK_ADJFILE}}
-: ${clock_args:=${CLOCK_OPTS}}
-: ${clock_systohc:=${CLOCK_SYSTOHC}}
-: ${clock:=${CLOCK:-UTC}}
-if [ "$clock" = "UTC" ]; then
-       utc="UTC"
-       utc_cmd="--utc"
-else
-       utc="Local Time"
-       utc_cmd="--localtime"
-fi
-
-depend()
-{
-       provide clock
-       want modules
-       if yesno $clock_adjfile; then
-               use root
-       fi
-       keyword -docker -lxc -openvz -prefix -systemd-nspawn -uml -vserver -xenu
-}
-
-setupopts()
-{
-       case "$(uname -m)" in
-               s390*)
-                       utc="s390"
-                       ;;
-               *)
-                       if [ -e /proc/devices ] && \
-                               grep -q " cobd$" /proc/devices
-                       then
-                               utc="coLinux"
-                       fi
-                       ;;
-       esac
-
-       case "$utc" in
-               UTC|Local" "Time);;
-               *) unset utc_cmd;;
-       esac
-}
-
-# hwclock doesn't always return non zero on error
-_hwclock()
-{
-       local err="$(hwclock "$@" 2>&1 >/dev/null)"
-
-       [ -z "$err" ] && return 0
-       echo "${err}" >&2
-       return 1
-}
-
-get_noadjfile()
-{
-       if ! yesno $clock_adjfile; then
-               # Some implementations don't handle adjustments
-               if LC_ALL=C hwclock --help 2>&1 | grep -q "\-\-noadjfile"; then
-                       echo --noadjfile
-               fi
-       fi
-}
-
-rtc_exists()
-{
-       local rtc=
-       for rtc in /dev/rtc /dev/rtc[0-9]*; do
-               [ -e "$rtc" ] && break
-       done
-       [ -e "$rtc" ]
-}
-
-start()
-{
-       local retval=0 errstr="" modname
-       setupopts
-
-       if [ -z "$utc_cmd" ]; then
-               ewarn "Not setting clock for $utc system"
-               return 0
-       fi
-
-       ebegin "Setting system clock using the hardware clock [$utc]"
-       if [ -e /proc/modules ]; then
-               if ! rtc_exists; then
-                       for x in rtc-cmos rtc genrtc; do
-                               modprobe -q $x && rtc_exists && modname="$x" && break
-                       done
-                       [ -n "$modname" ] &&
-                               ewarn "The $modname module needs to be configured in" \
-                                       "/etc/conf.d/modules or built in."
-               fi
-       fi
-
-       # Always set the kernel's time zone.
-       _hwclock --systz $utc_cmd $(get_noadjfile) $clock_args
-       : $(( retval += $? ))
-
-       if [ -e /etc/adjtime ] && yesno $clock_adjfile; then
-               _hwclock --adjust $utc_cmd $(get_noadjfile)
-               : $(( retval += $? ))
-       fi
-
-       if yesno ${clock_hctosys:-YES}; then
-               _hwclock --hctosys $utc_cmd $(get_noadjfile) $clock_args
-               : $(( retval += $? ))
-       fi
-
-       eend $retval "Failed to set the system clock"
-
-       return 0
-}
-
-stop()
-{
-       # Don't tweak the hardware clock on LiveCD halt.
-       [ -n "$CDBOOT" ] && return 0
-       yesno ${clock_systohc:-YES} || return 0
-
-       local retval=0 errstr=""
-       setupopts
-
-       [ -z "$utc_cmd" ] && return 0
-
-       ebegin "Setting hardware clock using the system clock" "[$utc]"
-
-       _hwclock --systohc $utc_cmd $(get_noadjfile) $clock_args
-       retval=$?
-
-       eend $retval "Failed to sync clocks"
-}
-
-save()
-{
-       clock_systohc=yes
-       stop
-}
-
-show()
-{
-       setupopts
-       hwclock --show "$utc_cmd" $(get_noadjfile) $clock_args
-}
diff --git a/init.d/keymaps b/init.d/keymaps
deleted file mode 100755 (executable)
index 149428a..0000000
+++ /dev/null
@@ -1,77 +0,0 @@
-#!/sbin/openrc-run
-# Copyright (c) 2007-2015 The OpenRC Authors.
-# See the Authors file at the top-level directory of this distribution and
-# https://github.com/OpenRC/openrc/blob/master/AUTHORS
-#
-# This file is part of OpenRC. It is subject to the license terms in
-# the LICENSE file found in the top-level directory of this
-# distribution and at https://github.com/OpenRC/openrc/blob/master/LICENSE
-# This file may not be copied, modified, propagated, or distributed
-# except according to the terms contained in the LICENSE file.
-
-description="Applies a keymap for the consoles."
-
-depend()
-{
-       need localmount termencoding
-       after bootmisc clock
-       keyword -docker -lxc -openvz -prefix -systemd-nspawn -uml -vserver -xenu
-}
-
-start()
-{
-       ttyn=${rc_tty_number:-${RC_TTY_NUMBER:-12}}
-       : ${unicode:=$UNICODE}
-       : ${keymap:=$KEYMAP}
-       : ${extended_keymaps:=$EXTENDED_KEYMAPS}
-       : ${windowkeys:=$SET_WINDOWSKEYS}
-       : ${fix_euro:=$FIX_EURO}
-       : ${dumpkeys_charset:=${DUMPKEYS_CHARSET}}
-
-       if [ -z "$keymap" ]; then
-               eerror "You need to setup keymap in /etc/conf.d/keymaps first"
-               return 1
-       fi
-
-       local ttydev=/dev/tty n=
-       [ -d /dev/vc ] && ttydev=/dev/vc/
-
-       # Force linux keycodes for PPC.
-       if [ -f /proc/sys/dev/mac_hid/keyboard_sends_linux_keycodes ]; then
-               echo 1 > /proc/sys/dev/mac_hid/keyboard_sends_linux_keycodes
-       fi
-
-       local wkeys= kmode="-a" msg="ASCII"
-       if yesno $unicode; then
-               kmode="-u"
-               msg="UTF-8"
-       fi
-       yesno $windowkeys && wkeys="windowkeys"
-
-       # Set terminal encoding to either ASCII or UNICODE.
-       # See utf-8(7) for more information.
-       ebegin "Setting keyboard mode [$msg]"
-       n=1
-       while [ $n -le $ttyn ]; do
-               kbd_mode $kmode -C $ttydev$n
-               : $(( n += 1 ))
-       done
-       eend 0
-
-       ebegin "Loading key mappings [$keymap]"
-       loadkeys -q $wkeys $keymap $extended_keymaps
-       eend $? "Error loading key mappings" || return $?
-
-       if yesno $fix_euro; then
-               ebegin "Fixing font for euro symbol"
-               # Fix some fonts displaying the Euro, #173528.
-               echo "altgr keycode 18 = U+20AC" | loadkeys -q -
-               eend $?
-       fi
-
-       # Save the keymapping for use immediately at boot
-       if checkpath -W "$RC_LIBEXECDIR"; then
-               mkdir -p "$RC_LIBEXECDIR"/console
-               dumpkeys >"$RC_LIBEXECDIR"/console/keymap
-       fi
-}
diff --git a/init.d/killprocs b/init.d/killprocs
deleted file mode 100755 (executable)
index 93aa8bb..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/sbin/openrc-run
-# Copyright (c) 2007-2015 The OpenRC Authors.
-# See the Authors file at the top-level directory of this distribution and
-# https://github.com/OpenRC/openrc/blob/master/AUTHORS
-#
-# This file is part of OpenRC. It is subject to the license terms in
-# the LICENSE file found in the top-level directory of this
-# distribution and at https://github.com/OpenRC/openrc/blob/master/LICENSE
-# This file may not be copied, modified, propagated, or distributed
-# except according to the terms contained in the LICENSE file.
-
-description="Kill all processes so we can unmount disks cleanly."
-
-depend()
-{
-       keyword -prefix
-}
-
-start()
-{
-       ebegin "Terminating remaining processes"
-       kill_all 15 ${killall5_opts}
-       eend 0
-       ebegin "Killing remaining processes"
-       kill_all 9 ${killall5_opts}
-       eend 0
-}
diff --git a/init.d/local b/init.d/local
deleted file mode 100755 (executable)
index 5130daf..0000000
+++ /dev/null
@@ -1,93 +0,0 @@
-#!/sbin/openrc-run
-# Copyright (c) 2007-2015 The OpenRC Authors.
-# See the Authors file at the top-level directory of this distribution and
-# https://github.com/OpenRC/openrc/blob/master/AUTHORS
-#
-# This file is part of OpenRC. It is subject to the license terms in
-# the LICENSE file found in the top-level directory of this
-# distribution and at https://github.com/OpenRC/openrc/blob/master/LICENSE
-# This file may not be copied, modified, propagated, or distributed
-# except according to the terms contained in the LICENSE file.
-
-description="Executes user programs in /etc/local.d"
-
-depend()
-{
-       after *
-       keyword -timeout
-}
-
-start()
-{
-       ebegin "Starting local"
-
-       local file has_errors=0 redirect retval
-       yesno $rc_verbose || redirect='> /dev/null 2>&1'
-       eindent
-       for file in /etc/local.d/*.start; do
-               if [ -x "${file}" ]; then
-                       vebegin "Executing \"${file}\""
-                       eval "${file}" $redirect
-                       retval=$?
-                       if [ ${retval} -ne 0 ]; then
-                               has_errors=1
-                       fi
-                       veend ${retval} "Execution of \"${file}\" failed."
-               fi
-       done
-       eoutdent
-
-       if command -v local_start >/dev/null 2>&1; then
-               ewarn "\"/etc/conf.d/local\" should be removed."
-               ewarn "Please move the code from the local_start function"
-               ewarn "to executable scripts with an .start extension"
-               ewarn "in \"/etc/local.d\""
-               local_start
-       fi
-
-       eend ${has_errors}
-
-       # We have to end with a zero exit code, because a failed execution
-       # of an executable /etc/local.d/*.start file shouldn't result in
-       # marking the local service as failed. Otherwise we are unable to
-       # execute any executable /etc/local.d/*.stop file, because a failed
-       # marked service cannot be stopped (and the stop function would
-       # actually call the executable /etc/local.d/*.stop file(s)).
-       return 0
-}
-
-stop()
-{
-       ebegin "Stopping local"
-
-       local file has_errors=0 redirect retval
-       yesno $rc_verbose || redirect='> /dev/null 2>&1'
-       eindent
-       for file in /etc/local.d/*.stop; do
-               if [ -x "${file}" ]; then
-                       vebegin "Executing \"${file}\""
-                       eval "${file}" $redirect
-                       retval=$?
-                       if [ ${retval} -ne 0 ]; then
-                               has_errors=1
-                       fi
-                       veend ${retval} "Execution of \"${file}\" failed."
-               fi
-       done
-       eoutdent
-
-       if command -v local_stop >/dev/null 2>&1; then
-               ewarn "\"/etc/conf.d/local\" should be removed."
-               ewarn "Please move the code from the local_stop function"
-               ewarn "to executable scripts with an .stop extension"
-               ewarn "in \"/etc/local.d\""
-               local_stop
-       fi
-
-       eend ${has_errors}
-
-       # An executable /etc/local.d/*.stop file which failed with a
-       # non-zero exit status is not a reason to mark this service
-       # as failed, therefore we have to end with a zero exit code.
-       return 0
-}
diff --git a/init.d/localmount b/init.d/localmount
deleted file mode 100755 (executable)
index 30a1173..0000000
+++ /dev/null
@@ -1,133 +0,0 @@
-#!/sbin/openrc-run
-# Copyright (c) 2007-2015 The OpenRC Authors.
-# See the Authors file at the top-level directory of this distribution and
-# https://github.com/OpenRC/openrc/blob/master/AUTHORS
-#
-# This file is part of OpenRC. It is subject to the license terms in
-# the LICENSE file found in the top-level directory of this
-# distribution and at https://github.com/OpenRC/openrc/blob/master/LICENSE
-# This file may not be copied, modified, propagated, or distributed
-# except according to the terms contained in the LICENSE file.
-
-description="Mounts disks and swap according to /etc/fstab."
-
-depend()
-{
-       need fsck
-       use lvm modules mtab root
-       after clock lvm modules root
-       keyword -docker -jail -lxc -prefix -systemd-nspawn -vserver
-}
-
-start()
-{
-       # Mount local filesystems in /etc/fstab.
-       # The types variable must start with no, and must be a type
-       local critical= types="noproc" x= no_netdev= rc=
-       for x in $net_fs_list $extra_net_fs_list; do
-               types="${types},${x}"
-       done
-
-       if [ "$RC_UNAME" = Linux ]; then
-               no_netdev="-O no_netdev"
-               if mountinfo -q /usr; then
-                       touch "$RC_SVCDIR"/usr_premounted
-               fi
-       fi
-       ebegin "Mounting local filesystems"
-       mount -at "$types" $no_netdev
-       eend $? "Some local filesystem failed to mount"
-       rc=$?
-       if [ -z "$critical_mounts" ]; then
-               rc=0
-       else
-               for x in ${critical_mounts}; do
-               fstabinfo -q $x || continue
-               if ! mountinfo -q $x; then
-                       critical=x
-                       eerror "Failed to mount $x"
-               fi
-               done
-               [ -z "$critical" ] && rc=0
-       fi
-       return $rc
-}
-
-stop()
-{
-       yesno $RC_GOINGDOWN || return 0
-       # We never unmount / or /dev or $RC_SVCDIR
-
-       # Bug 381783
-       local rc_svcdir=$(printf '%s\n' "$RC_SVCDIR" | sed 's:/lib\(32\|64\)\?/:/lib(32|64)?/:g')
-
-       local x= no_umounts_r="/|/dev|/dev/.*|${rc_svcdir}"
-       no_umounts_r="${no_umounts_r}|/bin|/sbin|/lib(32|64)?|/libexec"
-       # RC_NO_UMOUNTS is an env var that can be set by plugins
-       local IFS="$IFS:"
-       for x in $no_umounts $RC_NO_UMOUNTS; do
-               no_umounts_r="$no_umounts_r|$x"
-       done
-
-       if [ "$RC_UNAME" = Linux ]; then
-               no_umounts_r="$no_umounts_r|/proc|/proc/.*|/run|/sys|/sys/.*"
-               if [ -e "$rc_svcdir"/usr_premounted ]; then
-                       no_umounts_r="$no_umounts_r|/usr"
-               fi
-       fi
-       no_umounts_r="^($no_umounts_r)$"
-
-       # Flush all pending disk writes now
-       sync
-
-       . "$RC_LIBEXECDIR"/sh/rc-mount.sh
-
-       if [ "$RC_UNAME" = Linux ] && [ -d /sys/fs/aufs ] ; then
-               #if / is aufs we remount it noxino during shutdown
-               if mountinfo -q -f '^aufs$' / ; then
-                       mount -o remount,noxino,rw /
-                       sync
-               fi
-
-               local aufs_branch aufs_mount_point aufs_si_id aufs_br_id branches
-               for aufs_si_dir in /sys/fs/aufs/si*; do
-                       [ -d "${aufs_si_dir}" ] || continue
-                       aufs_si_id="si=${aufs_si_dir#/sys/fs/aufs/si_}"
-                       aufs_mount_point="$(mountinfo -o ${aufs_si_id})"
-                       branches="$aufs_si_dir/br[0-9] $aufs_si_dir/br[0-9][0-9] $aufs_si_dir/br[0-9][0-9][0-9]"
-                       for x in $branches; do
-                               [ -e "${x}" ] || continue
-                               aufs_branch=$(sed 's/=.*//g' $x)
-                               eindent
-                               if ! mount -o "remount,del:$aufs_branch" "$aufs_mount_point" > /dev/null 2>&1; then
-                                       ewarn "Failed to remove branch $aufs_branch from aufs" \
-                                       "$aufs_mount_point"
-                               fi
-                               eoutdent
-                               sync
-                       done
-               done
-       fi
-
-       # Umount loop devices
-       einfo "Unmounting loop devices"
-       eindent
-       do_unmount "umount -d" --skip-point-regex "$no_umounts_r" \
-               --node-regex "^/dev/loop"
-       eoutdent
-
-       # Now everything else, except network filesystems as the
-       # network should be down by this point.
-       einfo "Unmounting filesystems"
-       eindent
-       local fs=
-       for x in $net_fs_list $extra_net_fs_list; do
-               fs="$fs${fs:+|}$x"
-       done
-       [ -n "$fs" ] && fs="^($fs)$"
-       do_unmount umount --skip-point-regex "$no_umounts_r" \
-               "${fs:+--skip-fstype-regex}" $fs --nonetdev
-       eoutdent
-
-       return 0
-}
diff --git a/init.d/loopback b/init.d/loopback
deleted file mode 100755 (executable)
index 35f69a3..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-#!/sbin/openrc-run
-# Copyright (c) 2013-2015 The OpenRC Authors.
-# See the Authors file at the top-level directory of this distribution and
-# https://github.com/OpenRC/openrc/blob/master/AUTHORS
-#
-# This file is part of OpenRC. It is subject to the license terms in
-# the LICENSE file found in the top-level directory of this
-# distribution and at https://github.com/OpenRC/openrc/blob/master/LICENSE
-# This file may not be copied, modified, propagated, or distributed
-# except according to the terms contained in the LICENSE file.
-
-description="Configures the loopback interface."
-
-depend()
-{
-       after clock
-       keyword -jail -prefix -systemd-nspawn -vserver
-}
-
-start()
-{
-       if [ "$RC_UNAME" = Linux ]; then
-               ebegin "Bringing up network interface lo"
-               if command -v ip > /dev/null 2>&1; then
-                       ip addr add 127.0.0.1/8 dev lo brd +
-                       ip link set lo up
-               else
-                       ifconfig lo 127.0.0.1 netmask 255.0.0.0
-               fi
-       else
-               ebegin "Bringing up network interface lo0"
-               ifconfig lo0 127.0.0.1 netmask 255.0.0.0
-       fi
-       eend $?
-}
diff --git a/init.d/modules b/init.d/modules
deleted file mode 100755 (executable)
index a37b003..0000000
+++ /dev/null
@@ -1,89 +0,0 @@
-#!/sbin/openrc-run
-# Copyright (c) 2007-2015 The OpenRC Authors.
-# See the Authors file at the top-level directory of this distribution and
-# https://github.com/OpenRC/openrc/blob/master/AUTHORS
-#
-# This file is part of OpenRC. It is subject to the license terms in
-# the LICENSE file found in the top-level directory of this
-# distribution and at https://github.com/OpenRC/openrc/blob/master/LICENSE
-# This file may not be copied, modified, propagated, or distributed
-# except according to the terms contained in the LICENSE file.
-
-description="Loads a user defined list of kernel modules."
-
-depend()
-{
-       use isapnp
-       want modules-load
-       keyword -docker -lxc -openvz -prefix -systemd-nspawn -vserver
-}
-
-FreeBSD_modules()
-{
-       local cnt=0 x
-       for x in $modules; do
-               ebegin "Loading module $x"
-               kldload "$x"
-               eend $? "Failed to load $x" && : $(( cnt += 1 ))
-       done
-       einfo "Autoloaded $cnt module(s)"
-}
-
-Linux_modules()
-{
-       # Should not fail if kernel does not have module
-       # support compiled in ...
-       [ ! -f /proc/modules ] && return 0
-
-       local KV x y kv_variant_list
-       KV=$(uname -r)
-       # full $KV
-       kv_variant_list="${KV}"
-       # remove any KV_EXTRA options to just get the full version
-       x=${KV%%-*}
-       # now slowly strip them
-       while [ -n "$x" ] && [ "$x" != "$y" ]; do
-               kv_variant_list="${kv_variant_list} $x"
-               y=$x
-               x=${x%.*}
-       done
-
-       local list= x= xx= y= args= mpargs= a=
-       for x in $kv_variant_list ; do
-               eval list=\$modules_$(shell_var "$x")
-               [ -n "$list" ] && break
-       done
-       [ -z "$list" ] && list=$modules
-
-       [ -n "$list" ] && ebegin "Loading kernel modules"
-       for x in $list; do
-               a=${x#*:}
-               if [ "$a" = "$x" ]; then
-                       unset mpargs
-               else
-                       x=${x%%:*}
-                       mpargs="-o $a"
-               fi
-               aa=$(shell_var "$a")
-               xx=$(shell_var "$x")
-               for y in $kv_variant_list ; do
-                       eval args=\$module_${aa}_args_$(shell_var "$y")
-                       [ -n "${args}" ] && break
-                       eval args=\$module_${xx}_args_$(shell_var "$y")
-                       [ -n "${args}" ] && break
-               done
-               [ -z "$args" ] && eval args=\$module_${aa}_args
-               [ -z "$args" ] && eval args=\$module_${xx}_args
-               eval modprobe --use-blacklist --verbose "$mpargs" "$x" "$args"
-       done
-       [ -n "$list" ] && eend
-}
-
-start()
-{
-       case "$RC_UNAME" in
-               FreeBSD|Linux) ${RC_UNAME}_modules ;;
-               *) ;;
-       esac
-       return 0
-}
diff --git a/init.d/modules-load b/init.d/modules-load
deleted file mode 100755 (executable)
index b1a010b..0000000
+++ /dev/null
@@ -1,72 +0,0 @@
-#!/sbin/openrc-run
-# Copyright (c) 2016 The OpenRC Authors.
-# See the Authors file at the top-level directory of this distribution and
-# https://github.com/OpenRC/openrc/blob/master/AUTHORS
-#
-# This file is part of OpenRC. It is subject to the license terms in
-# the LICENSE file found in the top-level directory of this
-# distribution and at https://github.com/OpenRC/openrc/blob/master/LICENSE
-# This file may not be copied, modified, propagated, or distributed
-# except according to the terms contained in the LICENSE file.
-
-description="Loads a list of modules from systemd-compatible locations."
-
-depend()
-{
-       keyword -docker -lxc -openvz -prefix -systemd-nspawn -vserver
-}
-
-find_modfiles()
-{
-       local dirs="/usr/lib/modules-load.d /run/modules-load.d /etc/modules-load.d"
-       local basenames files fn x y
-       for x in $dirs; do
-               [ ! -d $x ] && continue
-               for y in $x/*.conf; do
-                       [ -f $y ] && basenames="${basenames}\n${y##*/}"
-               done
-       done
-       basenames=$(printf "$basenames" | sort -u)
-       for x in $basenames; do
-               for y in $dirs; do
-                       [ -r $y/$x ] &&
-                               fn=$y/$x
-               done
-               files="$files $fn"
-       done
-       echo $files
-}
-
-load_modules()
-{
-       local file m modules rc x
-       file=$1
-       [ -z "$file" ] && return 0
-       while read m x; do
-               case $m in
-                       \;*) continue ;;
-                       \#*) continue ;;
-                       *) modules="$modules $m"
-                       ;;
-               esac
-       done < $file
-       for x in $modules; do
-               ebegin "Loading module $x"
-               case "$RC_UNAME" in
-                       FreeBSD) kldload "$x"; rc=$? ;;
-                       Linux) modprobe --use-blacklist -q "$x"; rc=$? ;;
-                       *) ;;
-               esac
-               eend $rc "Failed to load $x"
-       done
-}
-
-start()
-{
-       local x
-       files=$(find_modfiles)
-       for x in $files; do
-               load_modules $x
-       done
-       return 0
-}
diff --git a/init.d/mount-ro b/init.d/mount-ro
deleted file mode 100755 (executable)
index 5bc0e13..0000000
+++ /dev/null
@@ -1,59 +0,0 @@
-#!/sbin/openrc-run
-# Copyright (c) 2007-2015 The OpenRC Authors.
-# See the Authors file at the top-level directory of this distribution and
-# https://github.com/OpenRC/openrc/blob/master/AUTHORS
-#
-# This file is part of OpenRC. It is subject to the license terms in
-# the LICENSE file found in the top-level directory of this
-# distribution and at https://github.com/OpenRC/openrc/blob/master/LICENSE
-# This file may not be copied, modified, propagated, or distributed
-# except according to the terms contained in the LICENSE file.
-
-description="Re-mount filesytems read-only for a clean reboot."
-
-depend()
-{
-       after killprocs savecache
-       keyword -docker -lxc -openvz -prefix -systemd-nspawn -vserver
-}
-
-start()
-{
-       local ret=0
-
-       # Flush all pending disk writes now
-       sync
-
-       ebegin "Remounting remaining filesystems read-only"
-       # We need the do_unmount function
-       . "$RC_LIBEXECDIR"/sh/rc-mount.sh
-       eindent
-
-       # Bug 381783
-       local rc_svcdir=$(echo $RC_SVCDIR | sed 's:/lib\(32\|64\)\?/:/lib(32|64)?/:g')
-
-       local m="/dev|/dev/.*|/proc|/proc.*|/sys|/sys/.*|/run|${rc_svcdir}" x= fs=
-       m="$m|/bin|/sbin|/lib(32|64)?|/libexec"
-       if [ -e "$rc_svcdir"/usr_premounted ]; then
-               m="$m|/usr"
-       fi
-       # RC_NO_UMOUNTS is an env var that can be set by plugins
-       local IFS="$IFS:"
-       for x in $no_umounts $RC_NO_UMOUNTS; do
-               m="$m|$x"
-       done
-       m="^($m)$"
-       fs=
-       for x in $net_fs_list $extra_net_fs_list; do
-               fs="$fs${fs:+|}$x"
-       done
-       [ -n "$fs" ] && fs="^($fs)$"
-       do_unmount "umount -r" \
-               --skip-point-regex "$m" \
-               "${fs:+--skip-fstype-regex}" $fs --nonetdev
-       ret=$?
-
-       eoutdent
-
-       eend $ret
-}
diff --git a/init.d/net-online b/init.d/net-online
deleted file mode 100755 (executable)
index 815c4fe..0000000
+++ /dev/null
@@ -1,69 +0,0 @@
-#!/sbin/openrc-run
-# Copyright (c) 2015 The OpenRC Authors.
-# See the Authors file at the top-level directory of this distribution and
-# https://github.com/OpenRC/openrc/blob/master/AUTHORS
-#
-# This file is part of OpenRC. It is subject to the license terms in
-# the LICENSE file found in the top-level directory of this
-# distribution and at https://github.com/OpenRC/openrc/blob/master/LICENSE
-# This file may not be copied, modified, propagated, or distributed
-# except according to the terms contained in the LICENSE file.
-
-description="Delays until the network is online or a specific timeout"
-
-depend()
-{
-       after modules
-       need sysfs
-       provide network-online
-       keyword -docker -jail -lxc -openvz -prefix -systemd-nspawn -uml -vserver
-}
-
-get_interfaces()
-{
-       local ifname iftype
-       for ifname in /sys/class/net/*; do
-               read iftype < ${ifname}/type
-               [ "$iftype" = "1" ] && printf "%s " ${ifname##*/}
-       done
-}
-
-start ()
-{
-       local carriers configured dev gateway ifcount infinite
-       local rc state x
-
-       ebegin "Checking to see if the network is online"
-       rc=0
-       interfaces=${interfaces:-$(get_interfaces)}
-       timeout=${timeout:-120}
- [ $timeout -eq 0 ] && infinite=true || infinite=false
- while $infinite || [ $timeout -gt 0 ]; do
-       carriers=0
-       configured=0
-       ifcount=0
-       for dev in ${interfaces}; do
-               : $((ifcount += 1))
-               read x < /sys/class/net/$dev/carrier
-               [ $x -eq 1 ] && : $((carriers += 1))
-               read x < /sys/class/net/$dev/operstate
-               [ "$x" = up ] && : $((configured += 1))
-       done
-       [ $configured -eq $ifcount ] && [ $carriers -ge 1 ] && break
-       sleep 1
-       : $((timeout -= 1))
- done
- ! $infinite && [ $timeout -eq 0 ] && rc=1
- include_ping_test=${include_ping_test:-${ping_default_gateway}}
- if [ -n "${ping_default_gateway}" ]; then
- ewarn "ping_default_gateway is deprecated, please use include_ping_test"
- fi
- if [ $rc -eq 0 ] && yesno ${include_ping_test:-no}; then
-       ping_test_host="${ping_test_host:-google.com}"
-       if [ -n "$ping_test_host" ]; then
-               ping -c 1 $ping_test_host > /dev/null 2>&1
-               rc=$?
-       fi
- fi
- eend $rc "The network is offline"
-}
diff --git a/init.d/netmount b/init.d/netmount
deleted file mode 100755 (executable)
index 3bb2af7..0000000
+++ /dev/null
@@ -1,91 +0,0 @@
-#!/sbin/openrc-run
-# Copyright (c) 2007-2015 The OpenRC Authors.
-# See the Authors file at the top-level directory of this distribution and
-# https://github.com/OpenRC/openrc/blob/master/AUTHORS
-#
-# This file is part of OpenRC. It is subject to the license terms in
-# the LICENSE file found in the top-level directory of this
-# distribution and at https://github.com/OpenRC/openrc/blob/master/LICENSE
-# This file may not be copied, modified, propagated, or distributed
-# except according to the terms contained in the LICENSE file.
-
-description="Mounts network shares according to /etc/fstab."
-
-depend()
-{
-       local opts mywant=""
-       for opts in $(fstabinfo -o -t nfs,nfs4); do
-               case $opts in
-                       noauto) ;;
-                       *) mywant="$mywant nfsclient"; break ;;
-               esac
-       done
-       after root
-       config /etc/fstab
-       want $mywant
-       use afc-client amd openvpn
-       use dns
-       use root
-       keyword -docker -jail -lxc -prefix -systemd-nspawn -vserver
-}
-
-start()
-{
-       local x= fs= rc=
-       for x in $net_fs_list $extra_net_fs_list; do
-               fs="$fs${fs:+,}$x"
-       done
-
-       ebegin "Mounting network filesystems"
-       mount -at $fs
-       rc=$?
-       if [ "$RC_UNAME" = Linux ] && [ $rc = 0 ]; then
-               mount -a -O _netdev
-               rc=$?
-       fi
-       ewend $rc "Could not mount all network filesystems"
-       if [ -z "$critical_mounts" ]; then
-               rc=0
-       else
-               for x in ${critical_mounts}; do
-               fstabinfo -q $x || continue
-               if ! mountinfo -q $x; then
-                       critical=x
-                       eerror "Failed to mount $x"
-               fi
-               done
-               [ -z "$critical" ] && rc=0
-       fi
-       return $rc
-}
-
-stop()
-{
-       local x= fs=
-
-       ebegin "Unmounting network filesystems"
-       . "$RC_LIBEXECDIR"/sh/rc-mount.sh
-
-       for x in $net_fs_list $extra_net_fs_list; do
-               fs="$fs${fs:+,}$x"
-       done
-       if [ -n "$fs" ]; then
-               umount -at $fs || eerror "Failed to simply unmount filesystems"
-       fi
-
-       eindent
-       fs=
-       for x in $net_fs_list $extra_net_fs_list; do
-               fs="$fs${fs:+|}$x"
-       done
-       [ -n "$fs" ] && fs="^($fs)$"
-       do_unmount umount ${fs:+--fstype-regex} $fs --netdev
-       retval=$?
-
-       eoutdent
-       if [ "$RC_UNAME" = Linux ] && [ $retval = 0 ]; then
-               umount -a -O _netdev
-               retval=$?
-       fi
-       eend $retval "Failed to unmount network filesystems"
-}
diff --git a/init.d/numlock b/init.d/numlock
deleted file mode 100755 (executable)
index f4fc98b..0000000
+++ /dev/null
@@ -1,49 +0,0 @@
-#!/sbin/openrc-run
-# Copyright (c) 2007-2015 The OpenRC Authors.
-# See the Authors file at the top-level directory of this distribution and
-# https://github.com/OpenRC/openrc/blob/master/AUTHORS
-#
-# This file is part of OpenRC. It is subject to the license terms in
-# the LICENSE file found in the top-level directory of this
-# distribution and at https://github.com/OpenRC/openrc/blob/master/LICENSE
-# This file may not be copied, modified, propagated, or distributed
-# except according to the terms contained in the LICENSE file.
-
-description="Turns numlock on for the consoles."
-
-ttyn=${rc_tty_number:-${RC_TTY_NUMBER:-12}}
-
-depend()
-{
-       need localmount
-       keyword -docker -lxc -openvz -prefix -systemd-nspawn -vserver
-}
-
-_setleds()
-{
-       [ -z "$1" ] && return 1
-
-       local dev=/dev/tty t= i=1 retval=0
-       [ -d /dev/vc ] && dev=/dev/vc/
-
-       while [ $i -le $ttyn ]; do
-               setleds -D "$1"num < $dev$i || retval=1
-               : $(( i += 1 ))
-       done
-
-       return $retval
-}
-
-start()
-{
-       ebegin "Enabling numlock on ttys"
-       _setleds +
-       eend $? "Failed to enable numlock"
-}
-
-stop()
-{
-       ebegin "Disabling numlock on ttys"
-       _setleds -
-       eend $? "Failed to disable numlock"
-}
diff --git a/init.d/osclock b/init.d/osclock
deleted file mode 100755 (executable)
index 8db43df..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/sbin/openrc-run
-# Copyright (c) 2014-2015 The OpenRC Authors.
-# See the Authors file at the top-level directory of this distribution and
-# https://github.com/OpenRC/openrc/blob/master/AUTHORS
-#
-# This file is part of OpenRC. It is subject to the license terms in
-# the LICENSE file found in the top-level directory of this
-# distribution and at https://github.com/OpenRC/openrc/blob/master/LICENSE
-# This file may not be copied, modified, propagated, or distributed
-# except according to the terms contained in the LICENSE file.
-
-# Can be used on OSs that take care of the clock.
-
-description="Provides clock"
-
-depend()
-{
-       provide clock
-}
diff --git a/init.d/procfs b/init.d/procfs
deleted file mode 100755 (executable)
index cd51874..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-#!/sbin/openrc-run
-# Copyright (c) 2007-2015 The OpenRC Authors.
-# See the Authors file at the top-level directory of this distribution and
-# https://github.com/OpenRC/openrc/blob/master/AUTHORS
-#
-# This file is part of OpenRC. It is subject to the license terms in
-# the LICENSE file found in the top-level directory of this
-# distribution and at https://github.com/OpenRC/openrc/blob/master/LICENSE
-# This file may not be copied, modified, propagated, or distributed
-# except according to the terms contained in the LICENSE file.
-
-description="Mounts misc filesystems in /proc."
-
-depend()
-{
-       after clock
-       use devfs
-       want modules
-       need localmount
-       keyword -docker -lxc -openvz -prefix -systemd-nspawn -vserver
-}
-
-start()
-{
-       # Setup Kernel Support for miscellaneous Binary Formats
-       if [ -d /proc/sys/fs/binfmt_misc ] &&
-               [ ! -e /proc/sys/fs/binfmt_misc/register ]; then
-               if ! grep -qs binfmt_misc /proc/filesystems &&
-                       modprobe -q binfmt-misc; then
-                       ewarn "The binfmt-misc module needs to be configured in" \
-                               "/etc/conf.d/modules or built in."
-               fi
-               if grep -qs binfmt_misc /proc/filesystems; then
-                       ebegin "Mounting misc binary format filesystem"
-                       mount -t binfmt_misc -o nodev,noexec,nosuid \
-                               binfmt_misc /proc/sys/fs/binfmt_misc
-                               eend $?
-               fi
-       fi
-       return 0
-}
diff --git a/init.d/root b/init.d/root
deleted file mode 100755 (executable)
index 19e6c73..0000000
+++ /dev/null
@@ -1,61 +0,0 @@
-#!/sbin/openrc-run
-# Copyright (c) 2007-2015 The OpenRC Authors.
-# See the Authors file at the top-level directory of this distribution and
-# https://github.com/OpenRC/openrc/blob/master/AUTHORS
-#
-# This file is part of OpenRC. It is subject to the license terms in
-# the LICENSE file found in the top-level directory of this
-# distribution and at https://github.com/OpenRC/openrc/blob/master/LICENSE
-# This file may not be copied, modified, propagated, or distributed
-# except according to the terms contained in the LICENSE file.
-
-description="Mount the root fs read/write"
-
-depend()
-{
-       after clock
-       need fsck
-       keyword -docker -jail -lxc -openvz -prefix -systemd-nspawn -vserver
-}
-
-start()
-{
-       case ",$(fstabinfo -o /)," in
-               *,ro,*)
-               ;;
-               *)
-                       # Check if the rootfs isn't already writable.
-                       if checkpath -W /; then
-                               rm -f /fastboot /forcefsck
-                       else
-                               ebegin "Remounting root filesystem read/write"
-                               case "$RC_UNAME" in
-                                       Linux)
-                                               mount -n -o remount,rw /
-                                       ;;
-                                       *)
-                                               mount -u -o rw /
-                                       ;;
-                               esac
-                               eend $? "Root filesystem could not be mounted read/write"
-                               if [ $?  -eq 0 ]; then
-                                       rm -f /fastboot /forcefsck
-                               fi
-                       fi
-               ;;
-       esac
-
-       ebegin "Remounting filesystems"
-       local mountpoint
-       for mountpoint in $(fstabinfo); do
-               case "${mountpoint}" in
-                       /)
-                       ;;
-                       /*)
-                               mountinfo -q "${mountpoint}" && \
-                                       fstabinfo --remount "${mountpoint}"
-                       ;;
-               esac
-       done
-       eend 0
-}
diff --git a/init.d/runsvdir b/init.d/runsvdir
deleted file mode 100755 (executable)
index fea196a..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/sbin/openrc-run
-# Copyright (c) 2016 The OpenRC Authors.
-# See the Authors file at the top-level directory of this distribution and
-# https://github.com/OpenRC/openrc/blob/master/AUTHORS
-#
-# This file is part of OpenRC. It is subject to the license terms in
-# the LICENSE file found in the top-level directory of this
-# distribution and at https://github.com/OpenRC/openrc/blob/master/LICENSE
-# This file may not be copied, modified, propagated, or distributed
-# except according to the terms contained in the LICENSE file.
-
-command=/usr/bin/runsvdir
-command_background=yes
-pidfile=/var/run/runsvdir.pid
-command_args="-P $RC_SVCDIR/sv 'log: ...........................................................................................................................................................................................................................................................................................................................................................................................................'"
-
-start_pre()
-{
-       checkpath -m 0755 -o root:root -d ${RC_SVCDIR}/sv
-}
diff --git a/init.d/s6-svscan b/init.d/s6-svscan
deleted file mode 100755 (executable)
index 0e03914..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-#!/sbin/openrc-run
-# Copyright (c) 2015 The OpenRC Authors.
-# See the Authors file at the top-level directory of this distribution and
-# https://github.com/OpenRC/openrc/blob/master/AUTHORS
-#
-# This file is part of OpenRC. It is subject to the license terms in
-# the LICENSE file found in the top-level directory of this
-# distribution and at https://github.com/OpenRC/openrc/blob/master/LICENSE
-# This file may not be copied, modified, propagated, or distributed
-# except according to the terms contained in the LICENSE file.
-
-command=/bin/s6-svscan
-command_args="${RC_SVCDIR}"/s6-scan
-command_background=yes
-pidfile=/var/run/s6-svscan.pid
-
-depend()
-{
-       need localmount
-}
-
-start_pre()
-{
-       einfo "Creating s6 scan directory"
-       checkpath -d -m 0755 "$RC_SVCDIR"/s6-scan
-       return $?
-}
-
-stop_post()
-{
-       ebegin "Stopping any remaining s6 services"
-       s6-svc -dx "${RC_SVCDIR}"/s6-scan/* 2>/dev/null || true
-       eend $?
-
-       ebegin "Stopping any remaining s6 service loggers"
-       s6-svc -dx "${RC_SVCDIR}"/s6-scan/*/log 2>/dev/null || true
-       eend $?
-}
diff --git a/init.d/savecache b/init.d/savecache
deleted file mode 100755 (executable)
index 65bc05a..0000000
+++ /dev/null
@@ -1,66 +0,0 @@
-#!/sbin/openrc-run
-# Copyright (c) 2007-2015 The OpenRC Authors.
-# See the Authors file at the top-level directory of this distribution and
-# https://github.com/OpenRC/openrc/blob/master/AUTHORS
-#
-# This file is part of OpenRC. It is subject to the license terms in
-# the LICENSE file found in the top-level directory of this
-# distribution and at https://github.com/OpenRC/openrc/blob/master/LICENSE
-# This file may not be copied, modified, propagated, or distributed
-# except according to the terms contained in the LICENSE file.
-
-description="Saves the caches OpenRC uses to non volatile storage"
-
-start()
-{
-       if [ -e "$RC_SVCDIR"/clock-skewed ]; then
-               ewarn "Clock skew detected!"
-               if ! yesno "${RC_GOINGDOWN}"; then
-                       eerror "Not saving deptree cache"
-                       return 1
-               fi
-       fi
-       if [ ! -d "$RC_LIBEXECDIR"/cache ]; then
-               if ! checkpath -W "$RC_LIBEXECDIR"; then
-                       eerror "${RC_LIBEXECDIR} is not writable!"
-                       eerror "Unable to save dependency cache"
-                       if yesno "${RC_GOINGDOWN}"; then
-                               return 0
-                       fi
-                       return 1
-               fi
-               rm -rf "$RC_LIBEXECDIR"/cache
-               if ! mkdir -p "$RC_LIBEXECDIR"/cache; then
-                       eerror "Unable to create $RC_LIBEXECDIR/cache"
-                       eerror "Unable to save dependency cache"
-                       if yesno "${RC_GOINGDOWN}"; then
-                               return 0
-                       fi
-                       return 1
-               fi
-       fi
-       if ! checkpath -W "$RC_LIBEXECDIR"/cache; then
-               eerror "${RC_LIBEXECDIR}/cache is not writable!"
-               eerror "Unable to save dependency cache"
-               if yesno "${RC_GOINGDOWN}"; then
-                       return 0
-               fi
-               return 1
-       fi
-       ebegin "Saving dependency cache"
-       local rc=0 save=
-       for x in shutdowntime softlevel rc.log; do
-               [ -e "$RC_SVCDIR/$x" ] && save="$save $RC_SVCDIR/$x"
-       done
-       if [ -n "$save" ]; then
-               cp -p $save "$RC_LIBEXECDIR"/cache
-               rc=$?
-       fi
-       if yesno "${RC_GOINGDOWN}"; then
-               if [ $rc -ne 0 ]; then
-                       eerror "Unable to save dependency cache"
-               fi
-               eend 0
-       fi
-       eend $rc "Unable to save dependency cache"
-}
diff --git a/init.d/swap b/init.d/swap
deleted file mode 100755 (executable)
index 5de405b..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-#!/sbin/openrc-run
-# Copyright (c) 2007-2015 The OpenRC Authors.
-# See the Authors file at the top-level directory of this distribution and
-# https://github.com/OpenRC/openrc/blob/master/AUTHORS
-#
-# This file is part of OpenRC. It is subject to the license terms in
-# the LICENSE file found in the top-level directory of this
-# distribution and at https://github.com/OpenRC/openrc/blob/master/LICENSE
-# This file may not be copied, modified, propagated, or distributed
-# except according to the terms contained in the LICENSE file.
-
-depend()
-{
-       after clock
-       before localmount
-       keyword -docker -jail -lxc -openvz -prefix -systemd-nspawn -vserver
-}
-
-start()
-{
-       ebegin "Activating swap devices"
-       case "$RC_UNAME" in
-               NetBSD|OpenBSD) swapctl -A -t noblk >/dev/null;;
-               *)              swapon -a >/dev/null;;
-       esac
-       eend 0 # If swapon has nothing todo it errors, so always return 0
-}
-
-stop()
-{
-       ebegin "Deactivating swap devices"
-       case "$RC_UNAME" in
-               NetBSD|OpenBSD) swapctl -U -t noblk >/dev/null;;
-               *)              swapoff -a >/dev/null;;
-       esac
-       eend 0
-}
diff --git a/init.d/swclock b/init.d/swclock
deleted file mode 100755 (executable)
index 9ce6c38..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-#!/sbin/openrc-run
-# Copyright (c) 2009-2015 The OpenRC Authors.
-# See the Authors file at the top-level directory of this distribution and
-# https://github.com/OpenRC/openrc/blob/master/AUTHORS
-#
-# This file is part of OpenRC. It is subject to the license terms in
-# the LICENSE file found in the top-level directory of this
-# distribution and at https://github.com/OpenRC/openrc/blob/master/LICENSE
-# This file may not be copied, modified, propagated, or distributed
-# except according to the terms contained in the LICENSE file.
-
-description="Sets the local clock to the mtime of a given file."
-
-depend()
-{
-       provide clock
-       keyword -docker -lxc -openvz -prefix -systemd-nspawn -uml -vserver -xenu
-}
-
-# swclock is an OpenRC built in
-
-start()
-{
-       ebegin "Setting the local clock based on last shutdown time"
-       if ! swclock 2> /dev/null; then
-       swclock --warn /sbin/openrc-run
-       fi
-       eend $?
-}
-
-stop()
-{
-       ebegin "Saving the shutdown time"
-       swclock --save
-       eend $?
-}
diff --git a/init.d/sysctl b/init.d/sysctl
deleted file mode 100755 (executable)
index 34073b0..0000000
+++ /dev/null
@@ -1,58 +0,0 @@
-#!/sbin/openrc-run
-# Copyright (c) 2007-2015 The OpenRC Authors.
-# See the Authors file at the top-level directory of this distribution and
-# https://github.com/OpenRC/openrc/blob/master/AUTHORS
-#
-# This file is part of OpenRC. It is subject to the license terms in
-# the LICENSE file found in the top-level directory of this
-# distribution and at https://github.com/OpenRC/openrc/blob/master/LICENSE
-# This file may not be copied, modified, propagated, or distributed
-# except according to the terms contained in the LICENSE file.
-
-depend()
-{
-       after clock
-       before bootmisc logger
-       keyword -prefix -systemd-nspawn -vserver
-}
-
-BSD_sysctl()
-{
-       [ -e /etc/sysctl.conf ] || return 0
-       local retval=0 var= comments= conf=
-       eindent
-       for conf in /etc/sysctl.conf /etc/sysctl.d/*.conf; do
-               if [ -r "$conf" ]; then
-                       vebegin "applying $conf"
-                       while read var comments; do
-                               case "$var" in
-                               ""|"#"*) continue;;
-                               esac
-                               sysctl -w "$var" >/dev/null || retval=1
-                       done < "$conf"
-                       veend $retval
-               fi
-       done
-       eoutdent
-       return $retval
-}
-
-Linux_sysctl()
-{
-       local quiet
-       yesno $rc_verbose || quiet=-q
-
-       sysctl ${quiet} --system
-}
-
-start()
-{
-       local rc=0
-
-       ebegin "Configuring kernel parameters"
-       case "$RC_UNAME" in
-       *BSD|GNU) BSD_sysctl; rc=$? ;;
-       Linux) Linux_sysctl; rc=$? ;;
-       esac
-       eend $rc "Unable to configure some kernel parameters"
-}
diff --git a/init.d/sysfs b/init.d/sysfs
deleted file mode 100755 (executable)
index 5af64e8..0000000
+++ /dev/null
@@ -1,237 +0,0 @@
-#!/sbin/openrc-run
-# Copyright (c) 2007-2015 The OpenRC Authors.
-# See the Authors file at the top-level directory of this distribution and
-# https://github.com/OpenRC/openrc/blob/master/AUTHORS
-#
-# This file is part of OpenRC. It is subject to the license terms in
-# the LICENSE file found in the top-level directory of this
-# distribution and at https://github.com/OpenRC/openrc/blob/master/LICENSE
-# This file may not be copied, modified, propagated, or distributed
-# except according to the terms contained in the LICENSE file.
-
-description="Mount the sys filesystem."
-
-sysfs_opts=nodev,noexec,nosuid
-
-depend()
-{
-       keyword -docker -lxc -prefix -systemd-nspawn -vserver
-}
-
-mount_sys()
-{
-       grep -Eq "[[:space:]]+sysfs$" /proc/filesystems || return 1
-       mountinfo -q /sys && return 0
-
-       if [ ! -d /sys ]; then
-               if ! mkdir -m 0755 /sys; then
-                       ewarn "Could not create /sys!"
-                       return 1
-               fi
-       fi
-
-       ebegin "Mounting /sys"
-       if ! fstabinfo --mount /sys; then
-               mount -n -t sysfs -o ${sysfs_opts} sysfs /sys
-       fi
-       eend $?
-}
-
-mount_misc()
-{
-       # Setup Kernel Support for securityfs
-       if [ -d /sys/kernel/security ] && \
-               ! mountinfo -q /sys/kernel/security; then
-               if grep -qs securityfs /proc/filesystems; then
-                       ebegin "Mounting security filesystem"
-                       mount -n -t securityfs -o ${sysfs_opts} \
-                               securityfs /sys/kernel/security
-                       eend $?
-               fi
-       fi
-
-       # Setup Kernel Support for debugfs
-       if [ -d /sys/kernel/debug ] && ! mountinfo -q /sys/kernel/debug; then
-               if grep -qs debugfs /proc/filesystems; then
-                       ebegin "Mounting debug filesystem"
-                       mount -n -t debugfs -o ${sysfs_opts} debugfs /sys/kernel/debug
-                       eend $?
-               fi
-       fi
-
-       # Setup Kernel Support for configfs
-       if [ -d /sys/kernel/config ] && ! mountinfo -q /sys/kernel/config; then
-               if grep -qs configfs /proc/filesystems; then
-                       ebegin "Mounting config filesystem"
-                       mount -n -t configfs -o  ${sysfs_opts} configfs /sys/kernel/config
-                       eend $?
-               fi
-       fi
-
-       # set up kernel support for fusectl
-       if [ -d /sys/fs/fuse/connections ] \
-               && ! mountinfo -q /sys/fs/fuse/connections; then
-               if grep -qs fusectl /proc/filesystems; then
-                       ebegin "Mounting fuse control filesystem"
-                       mount -n -t fusectl -o ${sysfs_opts} \
-                               fusectl /sys/fs/fuse/connections
-                       eend $?
-               fi
-       fi
-
-       # Setup Kernel Support for SELinux
-       if [ -d /sys/fs/selinux ] && ! mountinfo -q /sys/fs/selinux; then
-               if grep -qs selinuxfs /proc/filesystems; then
-                       ebegin "Mounting SELinux filesystem"
-                       mount -t selinuxfs selinuxfs /sys/fs/selinux
-                       eend $?
-               fi
-       fi
-
-       # Setup Kernel Support for persistent storage
-       if [ -d /sys/fs/pstore ] && ! mountinfo -q /sys/fs/pstore; then
-               if grep -qs 'pstore$' /proc/filesystems; then
-                       ebegin "Mounting persistent storage (pstore) filesystem"
-                       mount -t pstore pstore -o ${sysfs_opts} /sys/fs/pstore
-                       eend $?
-               fi
-       fi
-
-       # set up kernel support for efivarfs
-       if [ -d /sys/firmware/efi/efivars ] &&
-               ! mountinfo -q /sys/firmware/efi/efivars; then
-               ebegin "Mounting efivarfs filesystem"
-               mount -n -t efivarfs -o ro \
-                       efivarfs /sys/firmware/efi/efivars 2> /dev/null
-               eend 0
-       fi
-}
-
-cgroup1_base()
-{
-       grep -qw cgroup /proc/filesystems || return 0
-       if ! mountinfo -q /sys/fs/cgroup; then
-               ebegin "Mounting cgroup filesystem"
-               local opts="${sysfs_opts},mode=755,size=${rc_cgroupsize:-10m}"
-               mount -n -t tmpfs -o "${opts}" cgroup_root /sys/fs/cgroup
-               eend $?
-       fi
-
-       if ! mountinfo -q /sys/fs/cgroup/openrc; then
-               local agent="${RC_LIBEXECDIR}/sh/cgroup-release-agent.sh"
-               mkdir /sys/fs/cgroup/openrc
-               mount -n -t cgroup \
-                       -o none,${sysfs_opts},name=openrc,release_agent="$agent" \
-                       openrc /sys/fs/cgroup/openrc
-               printf 1 > /sys/fs/cgroup/openrc/notify_on_release
-       fi
-       return 0
-}
-
-cgroup1_controllers()
-{
-       yesno "${rc_controller_cgroups:-YES}" && [ -e /proc/cgroups ] || return 0
-       while read -r name _ _ enabled rest; do
-               case "${enabled}" in
-                       1)      mountinfo -q "/sys/fs/cgroup/${name}" && continue
-                               local x
-                               for x in $rc_cgroup_controllers; do
-                               [ "${name}" = "blkio" ] && [ "${x}" = "io" ] &&
-                                       continue 2
-                               [ "${name}" = "${x}" ] &&
-                               continue 2
-                               done
-                               mkdir "/sys/fs/cgroup/${name}"
-                               mount -n -t cgroup -o "${sysfs_opts},${name}" \
-                                       "${name}" "/sys/fs/cgroup/${name}"
-                               ;;
-               esac
-       done < /proc/cgroups
-       return 0
-}
-
-cgroup2_base()
-{
-       local base
-       base="$(cgroup2_find_path)"
-       mkdir -p "${base}"
-       mount -t cgroup2 none -o "${sysfs_opts},nsdelegate" "${base}" 2> /dev/null ||
-               mount -t cgroup2 none -o "${sysfs_opts}" "${base}"
-       return 0
-}
-
-cgroup2_controllers()
-{
-       local active cgroup_path x y
-       cgroup_path="$(cgroup2_find_path)"
-       [ -z "${cgroup_path}" ] && return 0
-       [ -e "${cgroup_path}/cgroup.controllers" ] &&
-       read -r active < "${cgroup_path}/cgroup.controllers"
-       for x in ${rc_cgroup_controllers}; do
-               for y in ${active}; do
-               [ "$x" = "$y" ] &&
-                       [ -e "${cgroup_path}/cgroup.subtree_control" ]&&
-                       echo "+${x}"  > "${cgroup_path}/cgroup.subtree_control"
-               done
-       done
-       return 0
-}
-
-cgroups_hybrid()
-{
-       grep -qw cgroup /proc/filesystems || return 0
-       cgroup1_base
-       if grep -qw cgroup2 /proc/filesystems; then
-               cgroup2_base
-               cgroup2_controllers
-       fi
-       cgroup1_controllers
-       return 0
-}
-
-cgroups_legacy()
-{
-       grep -qw cgroup /proc/filesystems || return 0
-       cgroup1_base
-       cgroup1_controllers
-       return 0
-}
-
-cgroups_unified()
-{
-       cgroup2_base
-       cgroup2_controllers
-       return 0
-}
-
-mount_cgroups()
-{
-       # set up kernel support for cgroups
-       if [ -d /sys/fs/cgroup ]; then
-               case "${rc_cgroup_mode:-hybrid}" in
-               hybrid) cgroups_hybrid ;;
-               legacy) cgroups_legacy ;;
-               unified) cgroups_unified ;;
-               esac
-       fi
-       return 0
-}
-
-restorecon_sys()
-{
-       if [ -x /sbin/restorecon ]; then
-               ebegin "Restoring SELinux contexts in /sys"
-               restorecon -F /sys/devices/system/cpu/online >/dev/null 2>&1
-               restorecon -rF /sys/fs/cgroup >/dev/null 2>&1
-               eend $?
-       fi
-}
-
-start()
-{
-       mount_sys
-       mount_misc
-       mount_cgroups
-       restorecon_sys
-       return 0
-}
diff --git a/init.d/termencoding b/init.d/termencoding
deleted file mode 100755 (executable)
index 687b3f7..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-#!/sbin/openrc-run
-# Copyright (c) 2008-2015 The OpenRC Authors.
-# See the Authors file at the top-level directory of this distribution and
-# https://github.com/OpenRC/openrc/blob/master/AUTHORS
-#
-# This file is part of OpenRC. It is subject to the license terms in
-# the LICENSE file found in the top-level directory of this
-# distribution and at https://github.com/OpenRC/openrc/blob/master/LICENSE
-# This file may not be copied, modified, propagated, or distributed
-# except according to the terms contained in the LICENSE file.
-
-description="Configures terminal encoding."
-
-ttyn=${rc_tty_number:-${RC_TTY_NUMBER:-12}}
-: ${unicode:=${UNICODE}}
-
-depend()
-{
-       keyword -docker -lxc -openvz -prefix -systemd-nspawn -uml -vserver -xenu
-       use root
-       after bootmisc clock
-}
-
-start()
-{
-       local ttydev=/dev/tty n=
-       [ -d /dev/vc ] && ttydev=/dev/vc/
-
-       # Set terminal encoding to either ASCII or UNICODE.
-       # See utf-8(7) for more information.
-       local termencoding="%@" termmsg="ASCII"
-       if yesno ${unicode}; then
-               termencoding="%G"
-               termmsg="UTF-8"
-       fi
-
-       ebegin "Setting terminal encoding [$termmsg]"
-       n=1
-       while [ ${n} -le "$ttyn" ]; do
-               printf "\033%s" "$termencoding" >$ttydev$n
-               : $(( n += 1 ))
-       done
-
-       # Save the encoding for use immediately at boot
-       if checkpath -W "$RC_LIBEXECDIR"; then
-               mkdir -p "$RC_LIBEXECDIR"/console
-               if yesno ${unicode:-${UNICODE}}; then
-                       echo "" > "$RC_LIBEXECDIR"/console/unicode
-               else
-                       rm -f "$RC_LIBEXECDIR"/console/unicode
-               fi
-       fi
-
-       eend 0
-}
diff --git a/init.d/urandom b/init.d/urandom
deleted file mode 100755 (executable)
index c1a8883..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-#!/sbin/openrc-run
-# Copyright (c) 2007-2015 The OpenRC Authors.
-# See the Authors file at the top-level directory of this distribution and
-# https://github.com/OpenRC/openrc/blob/master/AUTHORS
-#
-# This file is part of OpenRC. It is subject to the license terms in
-# the LICENSE file found in the top-level directory of this
-# distribution and at https://github.com/OpenRC/openrc/blob/master/LICENSE
-# This file may not be copied, modified, propagated, or distributed
-# except according to the terms contained in the LICENSE file.
-
-: ${urandom_seed:=${URANDOM_SEED:-/var/lib/misc/random-seed}}
-description="Initializes the random number generator."
-
-depend()
-{
-       after clock
-       need localmount
-       keyword -docker -jail -lxc -openvz -prefix -systemd-nspawn
-}
-
-save_seed()
-{
-       local psz=1
-
-       if [ -e /proc/sys/kernel/random/poolsize ]; then
-               : $(( psz = $(cat /proc/sys/kernel/random/poolsize) / 4096 ))
-       fi
-
-       (       # sub shell to prevent umask pollution
-               umask 077
-               dd if=/dev/urandom of="$urandom_seed" count=${psz} 2>/dev/null
-       )
-}
-
-start()
-{
-       [ -c /dev/urandom ] || return
-       if [ -f "$urandom_seed" ]; then
-               ebegin "Initializing random number generator"
-               cat "$urandom_seed" > /dev/urandom
-               eend $? "Error initializing random number generator"
-       fi
-       rm -f "$urandom_seed" && save_seed
-       return 0
-}
-
-stop()
-{
-       ebegin "Saving random seed"
-       save_seed
-       eend $? "Failed to save random seed"
-}
diff --git a/local.d/README b/local.d/README
deleted file mode 100644 (file)
index 068b7d9..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-This directory should contain programs or scripts which are to be run
-when the local service is started or stopped.
-
-If a file in this directory is executable and it has a .start extension,
-it will be run when the local service is started. If a file is
-executable and it has a .stop extension, it will be run when the local
-service is stopped.
-
-All files are processed in lexical order.
-
-Keep in mind that files in this directory are processed sequentially,
-and the local service is not considered started or stopped until
-everything is processed, so if you have a process which takes a long
-time to run, it can delay your boot or shutdown processing.
diff --git a/logrotate.d/openrc b/logrotate.d/openrc
deleted file mode 100644 (file)
index 5e5e64b..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-/var/log/rc.log {
-       missingok
-       notifempty
-}
diff --git a/pam.d/start-stop-daemon b/pam.d/start-stop-daemon
deleted file mode 100644 (file)
index 2127f6a..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-account required pam_permit.so
-session include system-services
diff --git a/pam.d/supervise-daemon b/pam.d/supervise-daemon
deleted file mode 100644 (file)
index 2127f6a..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-account required pam_permit.so
-session include system-services
diff --git a/rc.conf b/rc.conf
deleted file mode 100644 (file)
index d066c8a..0000000
--- a/rc.conf
+++ /dev/null
@@ -1,309 +0,0 @@
-# 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 its name as the output will get
-# jumbled up.
-# WARNING: whilst we have improved parallel, it can still potentially lock
-# the boot process. Don't file bugs about this unless you can supply
-# patches that fix it without breaking other things!
-#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. This feature is automatically disabled if rc_parallel is
-# set to YES.
-#rc_interactive="YES"
-
-# If we need to drop to a shell, you can specify it here.
-# If not specified we use $SHELL, otherwise the one specified in /etc/passwd,
-# otherwise /bin/sh
-# Linux users could specify /sbin/sulogin
-rc_shell=/sbin/sulogin
-
-# Do we allow any started service in the runlevel to satisfy the dependency
-# 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"
-
-# rc_hotplug controls which services we allow to be hotplugged.
-# A hotplugged service is one started by a dynamic dev manager when a matching
-# hardware device is found.
-# Hotplugged services appear in the "hotplugged" runlevel.
-# If rc_hotplug is set to any value, we compare the name of this service
-# to every pattern in the value, from left to right, and we allow the
-# service to be hotplugged if it matches a pattern, or if it matches no
-# patterns. Patterns can include shell wildcards.
-# To disable services from being hotplugged, prefix patterns with "!".
-#If rc_hotplug is not set or is empty, all hotplugging is disabled.
-# Example - rc_hotplug="net.wlan !net.*"
-# This allows net.wlan and any service not matching net.* to be hotplugged.
-# Example - rc_hotplug="!net.*"
-# This allows services that do not match "net.*" to be hotplugged.
-
-# rc_logger launches a logging daemon to log the entire rc process to
-# /var/log/rc.log
-# NOTE: Linux systems require the devfs service to be started before
-# logging can take place and as such cannot log the sysinit runlevel.
-#rc_logger="NO"
-
-# Through rc_log_path you can specify a custom log file.
-# The default value is: /var/log/rc.log
-#rc_log_path="/var/log/rc.log"
-
-# If you want verbose output for OpenRC, set this to yes. If you want
-# verbose output for service foo only, set it to yes in /etc/conf.d/foo.
-#rc_verbose=no
-
-# By default we filter the environment for our running scripts. To allow other
-# variables through, add them here. Use a * to allow all variables through.
-#rc_env_allow="VAR1 VAR2"
-
-# By default we assume that all daemons will start correctly.
-# However, some do not - a classic example is that they fork and return 0 AND
-# then child barfs on a configuration error. Or the daemon has a bug and the
-# child crashes. You can set the number of milliseconds start-stop-daemon
-# waits to check that the daemon is still running after starting here.
-# The default is 0 - no checking.
-#rc_start_wait=100
-
-# rc_nostop is a list of services which will not stop when changing runlevels.
-# This still allows the service itself to be stopped when called directly.
-#rc_nostop=""
-
-# rc will attempt to start crashed services by default.
-# However, it will not stop them by default as that could bring down other
-# critical services.
-#rc_crashed_stop=NO
-#rc_crashed_start=YES
-
-# Set rc_nocolor to yes if you do not want colors displayed in OpenRC
-# output.
-#rc_nocolor=NO
-
-##############################################################################
-# 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="YES"
-
-# This is how long fuser should wait for a remote server to respond. The
-# default is 60 seconds, but  it can be adjusted here.
-#rc_fuser_timeout=60
-
-# Below is the default list of network fstypes.
-#
-# afs ceph cifs coda davfs fuse fuse.sshfs gfs glusterfs lustre ncpfs
-# nfs nfs4 ocfs2 shfs smbfs
-#
-# If you would like to add to this list, you can do so by adding your
-# own fstypes to the following variable.
-#extra_net_fs_list=""
-
-##############################################################################
-# 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.
-# If your service has characters in its name which are not legal in
-# shell variable names and you configure the variables for it in this
-# file, those characters should be replaced with underscores in the
-# variable names as shown below.
-
-# Some daemons are started and stopped via start-stop-daemon.
-# We can set some things on a per service basis, like the nicelevel.
-#SSD_NICELEVEL="-19"
-# Or the ionice level. The format is class[:data] , just like the
-# --ionice start-stop-daemon parameter.
-#SSD_IONICELEVEL="2:2"
-
-# Pass ulimit parameters
-# If you are using bash in POSIX mode for your shell, note that the
-# ulimit command uses a block size of 512 bytes for the -c and -f
-# options
-#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"
-#rc_provide="!net"
-
-# 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"
-
-# Below is an example for service foo-bar. Note that the '-' is illegal
-# in a shell variable name, so we convert it to an underscore.
-# example for service foo-bar.
-#rc_foo_bar_config="/etc/foo-bar"
-#rc_foo_bar_need="openvpn"
-#rc_foo_bar_after="clock"
-
-# You can also remove dependencies.
-# This is mainly used for saying which services do NOT provide net.
-#rc_net_tap0_provide="!net"
-
-# This is the subsystem type.
-# It is used to match against keywords set by the keyword call in the
-# depend function of service scripts.
-#
-# It should be set to the value representing the environment this file is
-# PRESENTLY in, not the virtualization the environment is capable of.
-# If it is commented out, automatic detection will be used.
-#
-# The list below shows all possible settings as well as the host
-# operating systems where they can be used and autodetected.
-#
-# ""               - nothing special
-# "docker"         - Docker container manager (Linux)
-# "jail"           - Jail (DragonflyBSD or FreeBSD)
-# "lxc"            - Linux Containers
-# "openvz"         - Linux OpenVZ
-# "prefix"         - Prefix
-# "rkt"            - CoreOS container management system (Linux)
-# "subhurd"        - Hurd subhurds (to be checked)
-# "systemd-nspawn" - Container created by systemd-nspawn (Linux)
-# "uml"            - Usermode Linux
-# "vserver"        - Linux vserver
-# "xen0"           - Xen0 Domain (Linux and NetBSD)
-# "xenU"           - XenU Domain (Linux and NetBSD)
-#rc_sys=""
-
-# if  you use openrc-init, which is currently only available on Linux,
-# this is the default runlevel to activate after "sysinit" and "boot"
-# when booting.
-#rc_default_runlevel="default"
-
-# on Linux and Hurd, this is the number of ttys allocated for logins
-# It is used in the consolefont, keymaps, numlock and termencoding
-# service scripts.
-rc_tty_number=12
-
-##############################################################################
-# LINUX CGROUPS RESOURCE MANAGEMENT
-
-# This sets the mode used to mount cgroups.
-# "hybrid" mounts cgroups version 2 on /sys/fs/cgroup/unified and
-# cgroups version 1 on /sys/fs/cgroup.
-# "legacy" mounts cgroups version 1 on /sys/fs/cgroup
-# "unified" mounts cgroups version 2 on /sys/fs/cgroup
-#rc_cgroup_mode="hybrid"
-
-# This is a list of controllers which should be enabled for cgroups version 2.
-# If hybrid mode is being used, controllers listed here will not be
-# available for cgroups version 1.
-# This is a global setting.
-#rc_cgroup_controllers=""
-
-# This variable contains the cgroups version 2 settings for your services.
-# If this is set in this file, the settings will apply to all services.
-# If you want different settings for each service, place the settings in
-# /etc/conf.d/foo for service foo.
-# The format is to specify the setting and value followed by a newline.
-# Multiple settings and values can be specified.
-# For example, you would use this to set the maximum memory and maximum
-# number of pids for a service.
-#rc_cgroup_settings="
-#memory.max 10485760
-#pids.max max
-#"
-#
-# For more information about the adjustments that can be made with
-# cgroups version 2, see Documentation/cgroups-v2.txt in the linux kernel
-# source tree.
-#rc_cgroup_settings=""
-
-# This switch controls whether or not cgroups version 1 controllers are
-# individually mounted under
-# /sys/fs/cgroup in hybrid or legacy mode.
-#rc_controller_cgroups="YES"
-
-# The following settings allow you to set up values for the cgroups version 1
-# controllers for your services.
-# They can be set in this file;, however, if you do this, the settings
-# will apply to all of your services.
-# If you want different settings for each service, place the settings in
-# /etc/conf.d/foo for service foo.
-# The format is to specify the names of the settings followed by their
-# values. Each variable can hold multiple settings.
-# For example, you would use this to set the cpu.shares setting in the
-# cpu controller to 512 for your service.
-# rc_cgroup_cpu="
-# cpu.shares 512
-# "
-#
-# For more information about the adjustments that can be made with
-# cgroups version 1, see Documentation/cgroups-v1/* in the linux kernel
-# source tree.
-
-# Set the blkio controller settings for this service.
-#rc_cgroup_blkio=""
-
-# Set the cpu controller settings for this service.
-#rc_cgroup_cpu=""
-
-# Add this service to the cpuacct controller (any value means yes).
-#rc_cgroup_cpuacct=""
-
-# Set the cpuset controller settings for this service.
-#rc_cgroup_cpuset=""
-
-# Set the devices controller settings for this service.
-#rc_cgroup_devices=""
-
-# Set the hugetlb controller settings for this service.
-#rc_cgroup_hugetlb=""
-
-# Set the memory controller settings for this service.
-#rc_cgroup_memory=""
-
-# Set the net_cls controller settings for this service.
-#rc_cgroup_net_cls=""
-
-# Set the net_prio controller settings for this service.
-#rc_cgroup_net_prio=""
-
-# Set the pids controller settings for this service.
-#rc_cgroup_pids=""
-
-# Set this to YES if you want all of the processes in a service's cgroup
-# killed when the service is stopped or restarted.
-# Be aware that setting this to yes means all of a service's
-# child processes will be killed. Keep this in mind if you set this to
-# yes here instead of for the individual services in
-# /etc/conf.d/<service>.
-# To perform this cleanup manually for a stopped service, you can
-# execute cgroup_cleanup with /etc/init.d/<service> cgroup_cleanup or
-# rc-service <service> cgroup_cleanup.
-# The process followed in this cleanup is the following:
-# 1. send stopsig (sigterm if it isn't set) to all processes left in the
-# cgroup immediately followed by sigcont.
-# 2. Send sighup to all processes in the cgroup if rc_send_sighup is
-# yes.
-# 3. delay for rc_timeout_stopsec seconds.
-# 4. send sigkill to all processes in the cgroup unless disabled by
-# setting rc_send_sigkill to no.
-# rc_cgroup_cleanup="NO"
-
-# If this is yes, we will send sighup to the processes in the cgroup
-# immediately after stopsig and sigcont.
-#rc_send_sighup="NO"
-
-# This is the amount of time in seconds that we delay after sending sigcont
-# and optionally sighup, before we optionally send sigkill to all
-# processes in the # cgroup.
-# The default is 90 seconds.
-#rc_timeout_stopsec="90"
-
-# If this is set to no, we do not send sigkill to all processes in the
-# cgroup.
-#rc_send_sigkill="YES"
diff --git a/sysctl.d/README b/sysctl.d/README
deleted file mode 100644 (file)
index ca3e030..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-Kernel system variables configuration files
-
-Files found under the /etc/sysctl.d directory that end with .conf are
-parsed within sysctl(8) at boot time.  If you want to set kernel variables
-you can either edit /etc/sysctl.conf or make a new file.
-
-The filename isn't important, but don't make it a package name as it may clash
-with something the package builder needs later. The file name must end
-with .conf, or it will not be read.
-
-The recommended location for local system settings is /etc/sysctl.d/local.conf
-but as long as you follow the rules for the name of the file, anything will
-work. see the sysctl.conf(5) man page for details of the format.