Topic: Easy2Boot

Date 02/07/2014

By Steve Si

Subject Re: Re: Re: change text The highlighted entry will be booted automatically in %d seconds

You can suppress the message by adding a line to the patchme patch file to patch grldr. Then you won't get the countdown message at all...

The C code from the grub4dos source code is :
int i;
char tmp_buf[128];
char ch = ' ';

grub_sprintf (tmp_buf, " The highlighted entry will be booted automatically in %d seconds.", grub_timeout);
gotoxy (MENU_BOX_X - 2, MENU_BOX_H + 7);
for (i = 0; i < 79; i++)
{
if (ch)
ch = tmp_buf[i];
grub_putchar (ch ? ch : ' ');
}

Back