summaryrefslogtreecommitdiff
path: root/system/openrc/doinst.sh
diff options
context:
space:
mode:
authorAaditya Bagga <aaditya_gnulinux@zoho.com>2018-03-25 11:40:27 +0530
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-04-13 04:21:41 +0700
commit6377ec6372586e794535e78850432ae5627b97b1 (patch)
treec4fbaebb23f6f67de56248867244e4525250a1fb /system/openrc/doinst.sh
parent688fe9b54f069b6339561caa0fece196b281858a (diff)
downloadslackbuilds-6377ec6372586e794535e78850432ae5627b97b1.tar.gz
system/openrc: Updated for version 0.35.5.
Diffstat (limited to 'system/openrc/doinst.sh')
-rw-r--r--system/openrc/doinst.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/system/openrc/doinst.sh b/system/openrc/doinst.sh
index 48ccc32729..3b0d696a32 100644
--- a/system/openrc/doinst.sh
+++ b/system/openrc/doinst.sh
@@ -22,3 +22,6 @@ done
for file in "${BACKUP_CONF[@]}"; do
config "etc/conf.d/${file}.new"
done
+
+# enable cgroups service as required by openrc 0.35+
+[ ! -e etc/runlevels/sysinit/cgroups ] && /sbin/rc-update add cgroups sysinit