mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
move rm /usr to the end
This commit is contained in:
parent
e87037bd14
commit
f0d1f36728
1 changed files with 3 additions and 3 deletions
|
@ -284,13 +284,13 @@ _kexec() {
|
|||
sleep 2
|
||||
_clean_kernel_cache
|
||||
rm /{${VMLINUZ},initrd.img}
|
||||
#shellcheck disable=SC2115
|
||||
#rm -rf /usr/*
|
||||
echo -e "\033[92mRebooting\033[0m in a few seconds ..."
|
||||
while true; do
|
||||
while pgrep -x kexec > /dev/null 2>&1; do
|
||||
_clean_kernel_cache
|
||||
sleep 1
|
||||
done
|
||||
#shellcheck disable=SC2115
|
||||
rm -rf /usr/*
|
||||
}
|
||||
|
||||
_cleanup_install() {
|
||||
|
|
Loading…
Reference in a new issue