diff options
-rw-r--r-- | etc/rc.conf | 2 | ||||
-rw-r--r-- | init.d/cgroups.in | 2 | ||||
-rw-r--r-- | sh/rc-cgroup.sh | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/etc/rc.conf b/etc/rc.conf index 0029d516..d359eb9e 100644 --- a/etc/rc.conf +++ b/etc/rc.conf @@ -199,7 +199,7 @@ rc_tty_number=12 # cgroups version 1 on /sys/fs/cgroup. # "legacy" mounts cgroups version 1 on /sys/fs/cgroup # "unified" mounts cgroups version 2 on /sys/fs/cgroup -#rc_cgroup_mode="hybrid" +#rc_cgroup_mode="unified" # This is a list of controllers which should be enabled for cgroups version 2 # when hybrid mode is being used. diff --git a/init.d/cgroups.in b/init.d/cgroups.in index 4fa6b131..faf53d8a 100644 --- a/init.d/cgroups.in +++ b/init.d/cgroups.in @@ -128,7 +128,7 @@ cgroups_unified() mount_cgroups() { - case "${rc_cgroup_mode:-hybrid}" in + case "${rc_cgroup_mode:-unified}" in hybrid) cgroups_hybrid ;; legacy) cgroups_legacy ;; unified) cgroups_unified ;; diff --git a/sh/rc-cgroup.sh b/sh/rc-cgroup.sh index c99282fc..e5c7ae7f 100644 --- a/sh/rc-cgroup.sh +++ b/sh/rc-cgroup.sh @@ -154,7 +154,7 @@ cgroup_set_limits() cgroup2_find_path() { if grep -qw cgroup2 /proc/filesystems; then - case "${rc_cgroup_mode:-hybrid}" in + case "${rc_cgroup_mode:-unified}" in hybrid) printf "/sys/fs/cgroup/unified" ;; unified) printf "/sys/fs/cgroup" ;; esac |