previous commit accidentiall dropped the cgroup mount
authorJohn Crispin <blogic@openwrt.org>
Tue, 2 Dec 2014 12:40:11 +0000 (13:40 +0100)
committerJohn Crispin <blogic@openwrt.org>
Tue, 2 Dec 2014 12:40:11 +0000 (13:40 +0100)
Signed-off-by: John Crispin <blogic@openwrt.org>
initd/early.c

index 5a83d2cadb384afc7f18faee1f66fd5c177d9037..beb7b694323f767bdefab042bb956e2363df0a8f 100644 (file)
@@ -63,6 +63,7 @@ early_mounts(void)
 {
        mount("proc", "/proc", "proc", MS_NOATIME, 0);
        mount("sysfs", "/sys", "sysfs", MS_NOATIME, 0);
+       mount("none", "/sys/fs/cgroup", "cgroup", 0, 0);
        mount("tmpfs", "/dev", "tmpfs", MS_NOATIME, "mode=0755,size=512K");
        mkdir("/dev/shm", 0755);
        mkdir("/dev/pts", 0755);