Cgroups: activate the openrc control group release agent

This commit is contained in:
William Hubbs 2012-01-23 22:00:08 -06:00
parent ce4c9b5397
commit cacea4e7f3

View File

@ -84,6 +84,7 @@ mount_cgroups()
mount -t cgroup \
-o none,nodev,noexec,nosuid,name=openrc,release_agent="$agent" \
openrc /sys/fs/cgroup/openrc
echo 1 > /sys/fs/cgroup/openrc/notify_on_release
while read name hier groups enabled rest; do
case "${enabled}" in
1) mkdir /sys/fs/cgroup/${name}