milis/talimatname/genel/kernel/kernel-lts.kur-kos

14 lines
276 B
Plaintext
Raw Normal View History

2017-06-03 16:35:21 +02:00
#!/bin/bash
surum=4.10.9
sonek=milis-lts
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 /boot/initramfs $surum-$sonek
grub-mkconfig -o /boot/grub/grub.cfg