14 lines
296 B
Bash
14 lines
296 B
Bash
#!/bin/bash
|
|
surum=4.10.17
|
|
sonek=milis
|
|
cd /boot
|
|
if [ -f kernel ];then
|
|
rm kernel
|
|
fi
|
|
ln -s kernel-$surum kernel
|
|
if [ -f initramfs ];then
|
|
mv initramfs initramfs_eski
|
|
fi
|
|
dracut -N --force --xz --omit systemd --add-drivers "ahci" -f /boot/initramfs $surum-$sonek
|
|
grub-mkconfig -o /boot/grub/grub.cfg
|