mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-19 19:40:37 +02:00
try other kexec method
This commit is contained in:
parent
054936997b
commit
bf8118457b
1 changed files with 2 additions and 2 deletions
|
@ -233,8 +233,8 @@ _kexec() {
|
|||
kexec -s -f /"${VMLINUZ}" --initrd="/initrd.img" --reuse-cmdline
|
||||
# wait 2 seconds for getting a complete initramfs
|
||||
# remove kernel and initrd to save RAM for kexec in background
|
||||
sleep 2
|
||||
rm /{initrd.img,${VMLINUZ}}
|
||||
#sleep 2
|
||||
#rm /{initrd.img,${VMLINUZ}}
|
||||
#while pgrep -x kexec >/dev/null 2>&1; do
|
||||
# sleep 1
|
||||
#done
|
||||
|
|
Loading…
Reference in a new issue