Commit f5374900 authored by Tobias Powalowski's avatar Tobias Powalowski
Browse files

don't switch to shell after kexec

parent 330c7d3d
......@@ -286,11 +286,11 @@ _kexec() {
rm /{${VMLINUZ},initrd.img}
#shellcheck disable=SC2115
rm -rf /usr/*
while pgrep -x kexec > /dev/null 2>&1; do
echo -e "\033[92mRebooting\033[0m in a few seconds ..."
while true; do
_clean_kernel_cache
sleep 1
done
echo -e "\033[92mRebooting\033[0m in a few seconds ..."
}
_cleanup_install() {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment