Add cgroups to sysinit runlevel when available

See https://github.com/alpinelinux/aports/pull/3886
This commit is contained in:
Jakub Jirutka 2018-06-26 15:47:10 +02:00
parent f0d2580af3
commit c48b06d2c2

View file

@ -409,6 +409,8 @@ EOF
einfo 'Enabling base system services'
rc_add sysinit devfs dmesg mdev hwdrivers
[ -e etc/init.d/cgroups ] && rc_add sysinit cgroups ||: # since v3.8
rc_add boot modules hwclock swap hostname sysctl bootmisc syslog
rc_add shutdown killprocs savecache mount-ro