diff options
-rwxr-xr-x | 1 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/1 b/1 index ec47773..4b895fd 100755 --- a/1 +++ b/1 @@ -120,6 +120,9 @@ mount -o remount,rw / msg "Mounting all non-network filesystems...\n" mount -a -t "nosysfs,nonfs,nonfs4,nosmbfs,nocifs" -O no_netdev +mountpoint -q /sys/fs/cgroup || mount -t tmpfs cgroup /sys/fs/cgroup -o mode=0755 +awk '$4==1 { system("mountpoint -q /sys/fs/cgroup/" $1 " || mount -t cgroup -o " $1 ",x-mount.mkdir cgroup /sys/fs/cgroup/" $1) }' /proc/cgroups + msg "Initializing swap...\n" swapon -a |