summaryrefslogtreecommitdiff
path: root/init.d
diff options
context:
space:
mode:
authorPiotr Karbowski <piotr.karbowski@gmail.com>2011-12-17 17:45:11 +0100
committerWilliam Hubbs <williamh@gentoo.org>2011-12-20 01:14:08 -0600
commit3e2001f6a2f6d49f452b8d5b009c7190b7839524 (patch)
treee42292a1b084bdab62fc93b0589db438dbe1226a /init.d
parented4605bf9ff63effe0d09811a3e708d5e3a75378 (diff)
downloadopenrc-3e2001f6a2f6d49f452b8d5b009c7190b7839524.tar.gz
openrc-3e2001f6a2f6d49f452b8d5b009c7190b7839524.tar.bz2
openrc-3e2001f6a2f6d49f452b8d5b009c7190b7839524.tar.xz
add rc_cgroup option to allow disabling of cgroup default setup
Currently, cgroups are still in development, so we are not setting them up by default. However, this default will be changed in the future. This commit message and patch were updated by William Hubbs <williamh@gentoo.org>. X-Gentoo-Bug: 395079 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=395079
Diffstat (limited to 'init.d')
-rw-r--r--init.d/sysfs.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/init.d/sysfs.in b/init.d/sysfs.in
index 8838213..a709e5d 100644
--- a/init.d/sysfs.in
+++ b/init.d/sysfs.in
@@ -64,6 +64,7 @@ mount_misc()
mount_cgroups()
{
+ yesno ${rc_cgroups:-NO} || return 0
if [ ! -e /proc/cgroups ]; then
return 0
fi