fernly-usb-loader: Get rid of call to 'screen'
Since we have an internal terminal of sorts, remove the call to 'screen' when not running in monitor mode. Signed-off-by: Sean Cross <xobs@kosagi.com>
This commit is contained in:
parent
9aad9797e6
commit
0bfdbb314f
1 changed files with 5 additions and 2 deletions
|
@ -1426,8 +1426,11 @@ int main(int argc, char **argv) {
|
|||
}
|
||||
return 0;
|
||||
#else /* MONITOR_BOOT */
|
||||
cmd_begin("Waiting for ready prompt");
|
||||
fernvale_wait_banner(serfd, prompt, strlen(prompt));
|
||||
cmd_end();
|
||||
|
||||
close(serfd);
|
||||
return execl("/usr/bin/screen",
|
||||
"screen", "-L", argv[1], "115200", NULL);
|
||||
return 0;
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue