grub-guncelle
This commit is contained in:
parent
ccb62b35ac
commit
cf32a913ff
|
@ -2,4 +2,5 @@
|
||||||
if [ -f /boot/grub/grub.cfg ];then
|
if [ -f /boot/grub/grub.cfg ];then
|
||||||
mv /boot/grub/grub.cfg /boot/grub/grub.cfg.eski
|
mv /boot/grub/grub.cfg /boot/grub/grub.cfg.eski
|
||||||
fi
|
fi
|
||||||
|
[ ! -f /boot/grub/grub.cfg.new ] && mv /etc/default/grub/grub.cfg /boot/grub/grub.cfg.new
|
||||||
grub-mkconfig -o /boot/grub/grub.cfg
|
grub-mkconfig -o /boot/grub/grub.cfg
|
||||||
|
|
Loading…
Reference in New Issue