summaryrefslogtreecommitdiff
path: root/system/openrc/doinst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'system/openrc/doinst.sh')
-rw-r--r--system/openrc/doinst.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/openrc/doinst.sh b/system/openrc/doinst.sh
index 482b080f85..bae7f2e322 100644
--- a/system/openrc/doinst.sh
+++ b/system/openrc/doinst.sh
@@ -24,4 +24,4 @@ for file in "${BACKUP_CONF[@]}"; do
done
# enable cgroups service as required by openrc 0.35+
-[ ! -e etc/runlevels/sysinit/cgroups ] && chroot . /sbin/rc-update add cgroups sysinit
+[ ! -e etc/runlevels/sysinit/cgroups ] && ln -s /etc/init.d/cgroups etc/runlevels/sysinit/cgroups