From 7bb2006007c1996f33758e41db070252d4d3607f Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Sat, 4 May 2019 00:10:26 +0000 Subject: Make a lean and mean version, as a basis for filling an initramfs --- layout/rootfs/etc/s6-rc/source-base/mount-cgroups-sub/up | 10 ---------- 1 file changed, 10 deletions(-) delete mode 100644 layout/rootfs/etc/s6-rc/source-base/mount-cgroups-sub/up (limited to 'layout/rootfs/etc/s6-rc/source-base/mount-cgroups-sub/up') diff --git a/layout/rootfs/etc/s6-rc/source-base/mount-cgroups-sub/up b/layout/rootfs/etc/s6-rc/source-base/mount-cgroups-sub/up deleted file mode 100644 index 0c915da..0000000 --- a/layout/rootfs/etc/s6-rc/source-base/mount-cgroups-sub/up +++ /dev/null @@ -1,10 +0,0 @@ -redirfd -r 0 /proc/cgroups -pipeline { s6-tail -n +2 } -pipeline { s6-cut -d"\t" -f1 } -pipeline { s6-grep -vF -- devices } -forstdin -d"\n" -- i -importas -u i i -if { s6-mkdir -p /sys/fs/cgroup/${i} } -foreground { s6-mount -t cgroup -o ${i} -- cgroup /sys/fs/cgroup/${i} } -importas -u ? ? -s6-test $? -le 1 -- cgit v1.2.3