grub: rewrite

Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
AuxXxilium 2024-01-17 16:23:46 +01:00
parent f0eb9fd106
commit 1f836b44d1

View File

@ -113,13 +113,13 @@ menuentry 'Config Mode' --id config {
}
if [ ${vesa_mode} = 1 ]; then
menuentry 'Change Vesa to Text Mode' --id videomode {
menuentry 'Change Vesa to Text Output' --id videomode {
set vesa_mode=0
save_env vesa_mode
configfile ${prefix}/grub.cfg
}
else
menuentry 'Change Text to Vesa Mode' --id videomode {
menuentry 'Change Text to Vesa Output' --id videomode {
set vesa_mode=1
save_env vesa_mode
reboot