aboutsummaryrefslogtreecommitdiff
path: root/toys/other/swapon.c
diff options
context:
space:
mode:
authorIsaac Dunham <ibid.ag@gmail.com>2014-01-28 17:46:14 -0600
committerIsaac Dunham <ibid.ag@gmail.com>2014-01-28 17:46:14 -0600
commitc8cce3f302ce47db42e65ab2078f7ca9027af968 (patch)
treed025e3e7cb09a635dcc87050e291dce429980b60 /toys/other/swapon.c
parent714a0db2ade17f61f09816f0f7067f14e049e645 (diff)
downloadtoybox-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/swapon.c')
0 files changed, 0 insertions, 0 deletions