2017-06-03 16:35:21 +02:00
|
|
|
#!/bin/bash
|
2017-06-03 16:41:45 +02:00
|
|
|
surum=4.10.17
|
|
|
|
sonek=milis
|
2017-06-03 16:35:21 +02:00
|
|
|
cd /boot
|
|
|
|
if [ -f kernel ];then
|
|
|
|
rm kernel
|
|
|
|
fi
|
|
|
|
ln -s kernel-$surum kernel
|
|
|
|
if [ -f initramfs ];then
|
|
|
|
mv initramfs initramfs_eski
|
|
|
|
fi
|
2017-06-03 16:41:45 +02:00
|
|
|
dracut -N --force --xz --omit systemd --add-drivers "ahci" -f /boot/initramfs $surum-$sonek
|
2017-06-03 16:35:21 +02:00
|
|
|
grub-mkconfig -o /boot/grub/grub.cfg
|