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 (typo) |
||
(One intermediate revision by the same user not shown) | |||
Line 3: | Line 3: | ||
# Define defaults | # Define defaults | ||
: "${BOOTPART:=/boot}" | : "${BOOTPART:=/boot}" | ||
: "${KERNEL:=vmlinuz- | : "${KERNEL:=vmlinuz-$(uname -r | awk -F \- '{print $NF }')}" | ||
: "${INITRD:=initramfs- | : "${INITRD:=initramfs-$(uname -r | awk -F \- '{print $NF}')}" | ||
depend() { | depend() { |