2017-11-29 13:42:50 +01:00
|
|
|
#! /bin/sh
|
2018-01-11 16:43:24 +01:00
|
|
|
if [ -f /boot/grub/grub.cfg ];then
|
|
|
|
mv /boot/grub/grub.cfg /boot/grub/grub.cfg.eski
|
|
|
|
fi
|
2018-01-20 23:10:04 +01:00
|
|
|
[ ! -f /boot/grub/grub.cfg.new ] && cp /etc/default/grub/grub.cfg /boot/grub/grub.cfg.new
|
2017-11-29 13:42:50 +01:00
|
|
|
grub-mkconfig -o /boot/grub/grub.cfg
|