kernel: boot: use "bootconsole" instead of "console" env var

This commit is contained in:
2017-08-13 15:24:18 +02:00
parent c5466152f1
commit 34e6b0adc2
2 changed files with 2 additions and 2 deletions

Submodule hacking updated: dc88eab70f...ff7d0b5de9

View File

@@ -55,7 +55,7 @@ boot(int argc, char *argv[])
/* /*
* start /dev/cons * start /dev/cons
*/ */
if(readfile("#ec/console", buf, sizeof(cputype)) >= 0 if(readfile("#ec/bootconsole", buf, sizeof(buf)) >= 0
&& jehanne_strcmp("comconsole", buf) == 0){ && jehanne_strcmp("comconsole", buf) == 0){
if(startcomconsole() < 0) if(startcomconsole() < 0)
fatal("no console found"); fatal("no console found");