mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-19 19:40:37 +02:00
total cleanup in the end
This commit is contained in:
parent
d90a7dab6d
commit
73ae89f103
1 changed files with 1 additions and 0 deletions
|
@ -255,6 +255,7 @@ _kexec () {
|
|||
sleep 2
|
||||
rm /boot/"${VMLINUZ}"
|
||||
rm /initrd.img
|
||||
find . -mindepth 1 -maxdepth 1 -exec rm -rf {} \;
|
||||
fi
|
||||
while pgrep -x kexec > /dev/null 2>&1; do
|
||||
sleep 1
|
||||
|
|
Loading…
Reference in a new issue