Fix sysinstall videomode creation.
This commit is contained in:
parent
9ec09476ba
commit
1083e67d45
|
@ -421,7 +421,7 @@ int main(void)
|
||||||
while ( true )
|
while ( true )
|
||||||
{
|
{
|
||||||
prompt(input, sizeof(input),
|
prompt(input, sizeof(input),
|
||||||
"Select default display resolution? (yes/no)", "yes");
|
"Select a default display resolution? (yes/no)", "yes");
|
||||||
if ( strcasecmp(input, "no") && strcasecmp(input, "yes") )
|
if ( strcasecmp(input, "no") && strcasecmp(input, "yes") )
|
||||||
continue;
|
continue;
|
||||||
bool was_no = strcasecmp(input, "no") == 0;
|
bool was_no = strcasecmp(input, "no") == 0;
|
||||||
|
@ -446,7 +446,7 @@ int main(void)
|
||||||
get_mode.mode.fb_format);
|
get_mode.mode.fb_format);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
if ( !input[0] )
|
if ( !input[0] )
|
||||||
text("/etc/videomode will not be created.\n");
|
text("/etc/videomode will not be created.\n");
|
||||||
else
|
else
|
||||||
|
@ -458,6 +458,7 @@ int main(void)
|
||||||
umask(old_umask);
|
umask(old_umask);
|
||||||
}
|
}
|
||||||
text("\n");
|
text("\n");
|
||||||
|
}
|
||||||
|
|
||||||
scan_devices();
|
scan_devices();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue