summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2012-01-05 22:28:04 -0600
committerWilliam Hubbs <williamh@gentoo.org>2012-01-05 22:28:04 -0600
commitcd52fecc4e3fa288d22a3faf6dd8b645a4bb79d1 (patch)
tree719e16cf0c73f58f17ee4d109b576ad37149ae38
parentdbfcf232734439da3ded008af36fc1128375b437 (diff)
downloadopenrc-cd52fecc4e3fa288d22a3faf6dd8b645a4bb79d1.tar.gz
openrc-cd52fecc4e3fa288d22a3faf6dd8b645a4bb79d1.tar.bz2
openrc-cd52fecc4e3fa288d22a3faf6dd8b645a4bb79d1.tar.xz
cgroups: turn on groups by default
The control groups we create are the ones recommended by the linux kernel, so this should be on most of the time if cgroups are enabled in the kernel.
-rw-r--r--init.d/sysfs.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.d/sysfs.in b/init.d/sysfs.in
index ac6934a..7021feb 100644
--- a/init.d/sysfs.in
+++ b/init.d/sysfs.in
@@ -74,7 +74,7 @@ mount_misc()
mount_cgroups()
{
- yesno ${rc_cgroups:-NO} || return 0
+ yesno ${rc_cgroups:-YES} || return 0
if [ ! -e /proc/cgroups ]; then
return 0
fi