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 5a83d2c..beb7b69 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);