mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-28 11:43:25 +02:00
updater: reinstall grub at update.
This commit is contained in:
@@ -1,2 +0,0 @@
|
|||||||
#boot/grub
|
|
||||||
boot/grub/grub.conf
|
|
||||||
1
config/rootfiles/core/65/filelists/i586/grub
Symbolic link
1
config/rootfiles/core/65/filelists/i586/grub
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
../../../../common/i586/grub
|
||||||
@@ -191,6 +191,12 @@ else
|
|||||||
sed -i -e "s|#terminal|terminal|g" /boot/grub/grub.conf
|
sed -i -e "s|#terminal|terminal|g" /boot/grub/grub.conf
|
||||||
sed -i -e "s| panic=10 | console=ttyS0,115200n8 panic=10 |g" /boot/grub/grub.conf
|
sed -i -e "s| panic=10 | console=ttyS0,115200n8 panic=10 |g" /boot/grub/grub.conf
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
#
|
||||||
|
# ReInstall grub
|
||||||
|
#
|
||||||
|
grub-install --no-floppy ${ROOT::`expr length $ROOT`-1} --recheck
|
||||||
|
|
||||||
#
|
#
|
||||||
# Delete old lm-sensor modullist to force search at next boot
|
# Delete old lm-sensor modullist to force search at next boot
|
||||||
#
|
#
|
||||||
|
|||||||
Reference in New Issue
Block a user