diff options
author | Isaac Dunham <ibid.ag@gmail.com> | 2014-01-28 17:46:14 -0600 |
---|---|---|
committer | Isaac Dunham <ibid.ag@gmail.com> | 2014-01-28 17:46:14 -0600 |
commit | c8cce3f302ce47db42e65ab2078f7ca9027af968 (patch) | |
tree | d025e3e7cb09a635dcc87050e291dce429980b60 /toys/other/pivot_root.c | |
parent | 714a0db2ade17f61f09816f0f7067f14e049e645 (diff) | |
download | toybox-c8cce3f302ce47db42e65ab2078f7ca9027af968.tar.gz |
init: don't use VT_OPENQRY.
The original codepath checks if there is a VT available,
and if there isn't sets TERM to vt102 (unless TERM is set to something
other than "linux").
Otherwise, TERM is set to "linux" if it is not already set.
However, we can rely on getty/... to set TERM if "linux" is not suitable.
This has the benefit of dropping a slightly messy section.
Diffstat (limited to 'toys/other/pivot_root.c')
0 files changed, 0 insertions, 0 deletions