rc: fix inverted string compare logic

X-Gentoo-Bug: 417227
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=417227
Reported-by: sphakka <marcoep@gmail.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
termencoding should not run on lxc

reported-by: Alexey Shvetsov <alexxy@gentoo.org>
net: clarify how to prefer ifconfig over iproute2

reported-by: <vsync@quadium.net>
X-Gentoo-Bug: 417899
X-Gentoo-Bug-Url: https://bugs.gentoo.org/show_bug.cgi?id=417899
net/udhcpc: use -x hostname:NAME option instead of -h name

reported-by: bug@mejor.pl
X-Gentoo-Bug: 417617
X-Gentoo-Bug-URL: https://bugs.gentoo.org/417617
fix consolefont documentation to reflect the default state

conf.d/consolefont was written as though the consolefont service was
active by default. It is not, so this has been fixed.

reported-by: Ikonta@yandex.ru
X-Gentoo-Bug: 420037
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=420037
fix handling of /run for vserver

Mount can't be used in vservers, but /run is still needed. So we create
the directory and clear it out instead of mounting a tmpfs in that
situation.

reported-by: <patrick@gentoo.org>
X-Gentoo-Bug: 423739
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=423739
cgroups: allow users to turn off creation of controller cgroups

This adds a switch to not create the one-cgroup-per-controller setup of
cgroups.

reported-by: davidweb@klaftenegger.de
X-Gentoo-Bug: 423317
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=423317
net: fix typo
Revert "Deprecate the network and staticroute scripts"

This reverts commit 5994e55937cbbb71b1c22ad829b77a1bcd8c3793.
There are situations where these scripts can be useful, so I am bringing
them back. Also, I want to start discussions about simplifying the
OpenRC network stack.
make oldnet the default for now
add the appropriate network scripts to the boot runlevel
fix typo
fix reference to dmesg man page

Correct the reference in conf.d/dmesg from dmesg(8) to dmesg(1).

reported-by: <toralf.foerster@gmx.de>
X-Gentoo-Bug: 425370
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=425370
Revert "add the appropriate network scripts to the boot runlevel"

This reverts commit add965706a3a239a7eb6750d6fc14090eb70dd12.
This commit was broken so I need to revert it.
add the MKNET variable to select a network stack

The MKNET variable can be used to select the network stack you want to
build and install with OpenRC.

The current default is the gentoo "oldnet" stack. If you want to install
the OpenRC newnet stack, use MKNET=newnet on the make command line.
fix the upstream default network stack

The OpenRC upstream default network stack was changed, but there was no
reason to change it. Now since we have the MKNET build switch, it is
easy for the gentoo ebuild to install oldnet by default.

The upstream default is newnet.
Import encswap init script from FreeBSD

The FreeBSD encswap init script has been adapted to function in OpenRC. It
should function identically to its FreeBSD counterpart.
Fix savecore init script to execute after dumpon, but before encswap

This ensures that any kernel crash dumps are available when savecore
runs. It also prevents encswap from corrupting them.
small style changes to encswap

This drops some unnecessary continue statements and changes command
command substitution to use $() instead of ``.
remove unnecessary header line