summaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorDavid Spencer <idlemoor@slackbuilds.org>2018-09-13 23:17:22 +0100
committerDavid Spencer <idlemoor@slackbuilds.org>2018-09-13 23:17:22 +0100
commit29a56b29a7dbbec971cb501decbeebdb75707373 (patch)
tree8e638c9b4fd523f9d7bd4bcaddbae0fbcfac3f46 /system
parent8d96af075ab11225be4b9f158c8fdefd847cf3fe (diff)
downloadslackbuilds-29a56b29a7dbbec971cb501decbeebdb75707373.tar.gz
system/openrc: Fixed doinst.sh.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'system')
-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 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