Browse Source

lxc-auto: do not touch cgroups

Apparently it is no longer needed to mount systemd cgroup with cgroup v2
systems.
lilik-openwrt-22.03
Zolfa 2 years ago
parent
commit
c8d6afe2cc
1 changed files with 0 additions and 6 deletions
  1. +0
    -6
      utils/lxc/files/lxc-auto.init

+ 0
- 6
utils/lxc/files/lxc-auto.init View File

@ -62,13 +62,7 @@ stop() {
fi
}
#Export systemd cgroups
boot() {
if [ ! -d /sys/fs/cgroup/systemd ]; then
mkdir -p /sys/fs/cgroup/systemd
mount -t cgroup -o rw,nosuid,nodev,noexec,relatime,none,name=systemd cgroup /sys/fs/cgroup/systemd
fi
if [ ! -d /run ]; then
ln -s /var/run /run
fi


Loading…
Cancel
Save