This website works better with JavaScript.
Home
Help
Sign In
LILiK
/
openwrt-packages-dist
Watch
5
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
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
bda5d2f3c6
commit
c8d6afe2cc
1 changed files
with
0 additions
and
6 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+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
Write
Preview
Loading…
Cancel
Save