mirror of
https://github.com/aminnairi/dotfiles.git
synced 2026-09-14 15:42:14 +02:00
new function for initializing the linux kernel
This commit is contained in:
@@ -289,3 +289,14 @@ function ensure_gnome_setting_set() {
|
||||
|
||||
log "Paramètre $setting_schema $setting_key paramétré avec succès."
|
||||
}
|
||||
|
||||
function ensure_mkinitcpio_configured_for() {
|
||||
local kernel="$1"
|
||||
|
||||
if sudo mkinitcpio -p "$kernel"
|
||||
then
|
||||
log "Noyau $kernel installé."
|
||||
else
|
||||
log "Echec lors de l'installation du noyau $kernel, ne redémarrez surtout pas !"
|
||||
fi
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user