kernel: boot: use "bootconsole" instead of "console" env var
This commit is contained in:
parent
c5466152f1
commit
34e6b0adc2
2
hacking
2
hacking
@ -1 +1 @@
|
||||
Subproject commit dc88eab70ff44e80df732070523e9047030513c9
|
||||
Subproject commit ff7d0b5de9046ddd556fd3dbc1af9eb552dff40a
|
@ -55,7 +55,7 @@ boot(int argc, char *argv[])
|
||||
/*
|
||||
* start /dev/cons
|
||||
*/
|
||||
if(readfile("#ec/console", buf, sizeof(cputype)) >= 0
|
||||
if(readfile("#ec/bootconsole", buf, sizeof(buf)) >= 0
|
||||
&& jehanne_strcmp("comconsole", buf) == 0){
|
||||
if(startcomconsole() < 0)
|
||||
fatal("no console found");
|
||||
|
Loading…
Reference in New Issue
Block a user