Kexec/kexec-load: Difference between revisions
m (Testing the potential to move the kexec-load script from the Kexec page and then transcluding it.) |
m (Try to fill the kernel and initrd/initramfs automagically for the user.) |
||
Line 3: | Line 3: | ||
# Define defaults | # Define defaults | ||
: "${BOOTPART:=/boot}" | : "${BOOTPART:=/boot}" | ||
: "${KERNEL:=vmlinuz- | : "${KERNEL:=vmlinuz-$(uname -r | awk -F \- '{print $NF }')}" | ||
: "${INITRD:= | : "${INITRD:=initrfamfs-$(uname -r | awk -F \- '{print $NF}')}" | ||
depend() { | depend() { |