aboutsummaryrefslogtreecommitdiff
path: root/coreutils
diff options
context:
space:
mode:
authorAlexander Shishkin <virtuoso@slind.org>2011-10-31 13:18:44 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2011-10-31 13:18:44 +0100
commit156840c249ddf761d9e60b06ca6d8aaa1bf88402 (patch)
tree927112b5656f671980e8db99d11cbb74a6457118 /coreutils
parentbcdae638752d5eac9185f69b88f49ed136cf39af (diff)
downloadbusybox-156840c249ddf761d9e60b06ca6d8aaa1bf88402.tar.gz
cttyhack: print detected ctty name when called without parameters
Sometimes there's a need to figure out the controlling tty from a shell script, for example, to obtain a line for getty. In this case it's easier to call cttyhack than trying to repeat some of the cttyhack's logic. function old new delta cttyhack_main 283 327 +44 packed_usage 28911 28915 +4 Signed-off-by: Alexander Shishkin <virtuoso@slind.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'coreutils')
0 files changed, 0 insertions, 0 deletions