1
1

Initial dump from Zyxel

This commit is contained in:
2026-04-17 17:00:52 +02:00
commit 81fec250f4
23116 changed files with 5231237 additions and 0 deletions
+34
View File
@@ -0,0 +1,34 @@
#!/bin/sh
case "$1" in
start)
echo "Starting LXC support ..."
mount -t tmpfs cgroup /sys/fs/cgroup
for d in cpuset cpu cpuacct memory devices freezer blkio; do
mkdir -p /sys/fs/cgroup/$d
(mount -n -t cgroup -o $d cgroup /sys/fs/cgroup/$d || rm -rf /sys/fs/cgroup/$d || true)
done
mkdir -p /var/lib/lxc/
mount -t tmpfs tmpfs /lib/lxc/rootfs/
# Add required container directories here
mkdir -p /lib/lxc/rootfs/dev \
/lib/lxc/rootfs/proc \
/lib/lxc/rootfs/sys \
/lib/lxc/rootfs/var \
/lib/lxc/rootfs/tmp \
/lib/lxc/rootfs/bin \
/lib/lxc/rootfs/etc \
/lib/lxc/rootfs/lib \
/lib/lxc/rootfs/libexec \
/lib/lxc/rootfs/sbin \
/lib/lxc/rootfs/usr
exit 0
;;
*)
echo "$0: unrecognized option $1"
exit 1
;;
esac