don't clean /usr at the end

This commit is contained in:
Tobias Powalowski 2022-06-26 20:20:49 +02:00
parent 72f01d2730
commit e87037bd14

View file

@ -285,10 +285,11 @@ _kexec() {
_clean_kernel_cache _clean_kernel_cache
rm /{${VMLINUZ},initrd.img} rm /{${VMLINUZ},initrd.img}
#shellcheck disable=SC2115 #shellcheck disable=SC2115
rm -rf /usr/* #rm -rf /usr/*
echo -e "\033[92mRebooting\033[0m in a few seconds ..." echo -e "\033[92mRebooting\033[0m in a few seconds ..."
while true; do while true; do
_clean_kernel_cache _clean_kernel_cache
sleep 1
done done
} }