summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2014-12-02 13:40:11 +0100
committerJohn Crispin <blogic@openwrt.org>2014-12-02 13:40:11 +0100
commit40c4e68266a7b04239394c528c4c290d960fc38c (patch)
tree22e5d3e0783aeaa6026d670e0faf44ac5d91e501
parente1a27d486c2374f46abd264f3fd6561815155ebd (diff)
downloadunitd-40c4e68266a7b04239394c528c4c290d960fc38c.tar
unitd-40c4e68266a7b04239394c528c4c290d960fc38c.zip
previous commit accidentiall dropped the cgroup mount
Signed-off-by: John Crispin <blogic@openwrt.org>
-rw-r--r--initd/early.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/initd/early.c b/initd/early.c
index 5a83d2c..beb7b69 100644
--- a/initd/early.c
+++ b/initd/early.c
@@ -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);