mirror of
git://slackware.nl/current.git
synced 2025-01-29 08:36:40 +01:00
11 lines
436 B
Text
11 lines
436 B
Text
|
#!/bin/sh
|
||
|
# This is a simple script to update grub from the configuration file.
|
||
|
# Please note that after upgrading to a new grub version, you should
|
||
|
# first use "grub-install" to reinstall the bootloader, similar to this:
|
||
|
# grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=Slackware --recheck
|
||
|
# or this:
|
||
|
# grub-install --target=i386-pc --recheck /dev/sdX
|
||
|
|
||
|
set -e
|
||
|
exec grub-mkconfig -o /boot/grub/grub.cfg "$@"
|