mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-28 11:43:25 +02:00
core90: fix grub.cfg update on xen hvm installations.
This commit is contained in:
@@ -225,22 +225,9 @@ if [ `grep "ENABLED=on" /var/ipfire/vpn/settings` ]; then
|
||||
/etc/init.d/ipsec start
|
||||
fi
|
||||
|
||||
case "$(uname -m)" in
|
||||
i?86)
|
||||
case "$(find_device "/")" in
|
||||
xvd* )
|
||||
echo Skip remove grub2 files, because pygrub fail.
|
||||
rm -f /boot/grub/*
|
||||
echo config will recreated by linux-pae install.
|
||||
;;
|
||||
* )
|
||||
#
|
||||
# Update to GRUB2 config
|
||||
#
|
||||
grub-mkconfig > /boot/grub/grub.cfg
|
||||
;;
|
||||
esac
|
||||
esac
|
||||
if [ -e /boot/grub/grub.cfg ]; then
|
||||
grub-mkconfig > /boot/grub/grub.cfg
|
||||
fi
|
||||
|
||||
# Upadate Kernel version uEnv.txt
|
||||
if [ -e /boot/uEnv.txt ]; then
|
||||
|
||||
Reference in New Issue
Block a user