fix-kernel-install.bash: add forgotten mkdir

This commit is contained in:
Aminda Suomalainen 2024-05-03 19:58:44 +03:00
parent 1057879d5e
commit 41c37b0c9b
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q

View File

@ -21,7 +21,8 @@ if [ -f /etc/machine-id ]; then
echo "The kernel situation seems OK."
else
printf "\nWARNING! Kernels mismatch! Suggested action:\n"
printf "\nWARNING! Kernels mismatch! Suggested actions:\n"
printf "\tsudo mkdir /boot/\"$(cat /etc/machine-id)\"/%b\n" "$EXPECTEDKERNEL"
printf "\tsudo kernel-install add %b /lib/modules/%b/vmlinuz\n" "$EXPECTEDKERNEL" "$EXPECTEDKERNEL"
fi
fi