diff options
author | David Spencer <idlemoor@slackbuilds.org> | 2018-09-13 23:17:22 +0100 |
---|---|---|
committer | David Spencer <idlemoor@slackbuilds.org> | 2018-09-13 23:17:22 +0100 |
commit | 29a56b29a7dbbec971cb501decbeebdb75707373 (patch) | |
tree | 8e638c9b4fd523f9d7bd4bcaddbae0fbcfac3f46 /system/openrc/doinst.sh | |
parent | 8d96af075ab11225be4b9f158c8fdefd847cf3fe (diff) | |
download | slackbuilds-29a56b29a7dbbec971cb501decbeebdb75707373.tar.gz |
system/openrc: Fixed doinst.sh.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'system/openrc/doinst.sh')
-rw-r--r-- | system/openrc/doinst.sh | 2 |
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 |