From 29a56b29a7dbbec971cb501decbeebdb75707373 Mon Sep 17 00:00:00 2001 From: David Spencer Date: Thu, 13 Sep 2018 23:17:22 +0100 Subject: system/openrc: Fixed doinst.sh. Signed-off-by: David Spencer --- system/openrc/doinst.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'system/openrc') diff --git a/system/openrc/doinst.sh b/system/openrc/doinst.sh index 3b0d696a32..482b080f85 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 ] && /sbin/rc-update add cgroups sysinit +[ ! -e etc/runlevels/sysinit/cgroups ] && chroot . /sbin/rc-update add cgroups sysinit -- cgit v1.2.3