Cgroups v2 is the default nowadays

This commit is contained in:
exu 2023-11-17 13:37:38 +01:00
parent 008bdf8111
commit 7777ea7d34

View File

@ -535,11 +535,6 @@ EOF
echo -e "\033[38;2;20;200;20mFinished updating everything!\033[0m" echo -e "\033[38;2;20;200;20mFinished updating everything!\033[0m"
echo Launching new shell! echo Launching new shell!
# remind user of cgroupsv2 if using podman
if [[ $(pacman -Q | grep podman) ]]; then
echo -e "\033[38;2;200;20;20mRemember to set \"systemd.unified_cgroup_hierarchy=1\" in the kernel!!\033[0m"
fi
# reminder for enable additional gpu features for corectrl with amd gpus # reminder for enable additional gpu features for corectrl with amd gpus
if [[ $(pacman -Q | grep podman) ]]; then if [[ $(pacman -Q | grep podman) ]]; then
echo -e "\033[38;2;200;20;20mRemember to set \"amdgpu.ppfeaturemask=0xffffffff\" in the kernel!!\033[0m" echo -e "\033[38;2;200;20;20mRemember to set \"amdgpu.ppfeaturemask=0xffffffff\" in the kernel!!\033[0m"