cgroupfs-mount: Added cgroup mount scripts

Signed-off-by: Gerard Ryan <G.M0N3Y.2503@gmail.com>
This commit is contained in:
Gerard Ryan
2019-06-22 18:26:17 +10:00
committed by Yousong Zhou
parent f2793d55fe
commit 992b2c70e6
2 changed files with 60 additions and 0 deletions
@@ -0,0 +1,12 @@
#!/bin/sh /etc/rc.common
START=1
boot() {
# Procd mounts non-hierarchical cgroupfs so unmount first before cgroupfs-mount
if mountpoint -q /sys/fs/cgroup; then
umount /sys/fs/cgroup/
fi
cgroupfs-mount
}