mirror of
https://gitea.blesmrt.net/mikaela/scripts.git
synced 2024-12-23 03:02:53 +01:00
fix-kernel-install.bash: add forgotten mkdir
This commit is contained in:
parent
1057879d5e
commit
41c37b0c9b
@ -21,7 +21,8 @@ if [ -f /etc/machine-id ]; then
|
|||||||
echo "The kernel situation seems OK."
|
echo "The kernel situation seems OK."
|
||||||
|
|
||||||
else
|
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"
|
printf "\tsudo kernel-install add %b /lib/modules/%b/vmlinuz\n" "$EXPECTEDKERNEL" "$EXPECTEDKERNEL"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user