mirror of
https://gitea.blesmrt.net/mikaela/scripts.git
synced 2024-12-22 18:52:46 +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."
|
||||
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user