diff options
author | Aaditya Bagga <aaditya_gnulinux@zoho.com> | 2018-03-25 11:40:27 +0530 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-04-13 04:21:41 +0700 |
commit | 6377ec6372586e794535e78850432ae5627b97b1 (patch) | |
tree | c4fbaebb23f6f67de56248867244e4525250a1fb /system/openrc/doinst.sh | |
parent | 688fe9b54f069b6339561caa0fece196b281858a (diff) |
system/openrc: Updated for version 0.35.5.
Diffstat (limited to 'system/openrc/doinst.sh')
-rw-r--r-- | system/openrc/doinst.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/system/openrc/doinst.sh b/system/openrc/doinst.sh index 48ccc3272982a..3b0d696a32700 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 |