Compare commits
2 Commits
0.43.4
...
openrc-0.1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
785b61e872 | ||
|
|
54ed42503f |
@@ -1,3 +1,3 @@
|
||||
NAME= openrc
|
||||
VERSION= 0.13
|
||||
VERSION= 0.13.1
|
||||
PKG= ${NAME}-${VERSION}
|
||||
|
||||
@@ -100,14 +100,15 @@ mount_misc()
|
||||
mount_cgroups()
|
||||
{
|
||||
mountinfo -q /sys/fs/cgroup || return 0
|
||||
mountinfo -q /sys/fs/cgroup/openrc || return 0
|
||||
|
||||
local agent="@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
|
||||
echo 1 > /sys/fs/cgroup/openrc/notify_on_release
|
||||
if ! mountinfo -q /sys/fs/cgroup/openrc; then
|
||||
local agent="@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
|
||||
echo 1 > /sys/fs/cgroup/openrc/notify_on_release
|
||||
fi
|
||||
|
||||
yesno ${rc_controller_cgroups:-YES} && [ -e /proc/cgroups ] || return 0
|
||||
while read name hier groups enabled rest; do
|
||||
|
||||
Reference in New Issue
Block a user