mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
cgroupfs-mount: Added cgroup mount scripts
Signed-off-by: Gerard Ryan <G.M0N3Y.2503@gmail.com>
This commit is contained in:
committed by
Yousong Zhou
parent
f2793d55fe
commit
992b2c70e6
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user