for initrd in "$(basename $target/boot/vmlinuz-*)" ; do
if ! $ROOTCMD update-initramfs -k "${initrd##vmlinuz-}" -c ; then
- echo "Creating fresh initrd did not work, trying update instead:"
+ echo "Creating fresh initramfs did not work, trying update instead:"
$ROOTCMD update-initramfs -k "${initrd##vmlinuz-}" -u
fi
done