factory_tty: Allow to switch from frecon-lite to frecon if needed.

Some devices may have problem reusing the frecon-lite session after
switch_root. /run/frecon/vt0 is still valid, but vt[2-7] are all
pointing to invalid files (/dev/pts has only '0').

Restarting frecon would still work, but that requires killing "broken"
frecon-lite instance and will lose the opened debug console on VT4.
However, this is still better than nothing.

BUG=None
TEST=build_image factory_install; manually tested.

Change-Id: I791b0180b7d34adcdc5b877d10c2bda4e95bae9d
Reviewed-on: https://chromium-review.googlesource.com/882583
Commit-Ready: Hung-Te Lin <hungte@chromium.org>
Tested-by: Hung-Te Lin <hungte@chromium.org>
Reviewed-by: Hung-Te Lin <hungte@chromium.org>
1 file changed