aboutsummaryrefslogtreecommitdiff
path: root/loginutils/getty.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2017-07-21 09:50:55 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2017-07-21 09:50:55 +0200
commit72089cf6b4a77214ec4fd21d5ee5bf56958781cb (patch)
treea5cd9d8f47e909834d3dbc44f895556e68bcf18f /loginutils/getty.c
parent75d151e31d135ebab083307ded4e9b98970baa75 (diff)
downloadbusybox-w32-72089cf6b4a77214ec4fd21d5ee5bf56958781cb.tar.gz
busybox-w32-72089cf6b4a77214ec4fd21d5ee5bf56958781cb.tar.bz2
busybox-w32-72089cf6b4a77214ec4fd21d5ee5bf56958781cb.zip
config: deindent all help texts
Those two spaces after tab have no effect, and always a nuisance when editing. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'loginutils/getty.c')
-rw-r--r--loginutils/getty.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/loginutils/getty.c b/loginutils/getty.c
index d38471a42..fd5116d08 100644
--- a/loginutils/getty.c
+++ b/loginutils/getty.c
@@ -26,19 +26,19 @@
26//config: default y 26//config: default y
27//config: select FEATURE_SYSLOG 27//config: select FEATURE_SYSLOG
28//config: help 28//config: help
29//config: getty lets you log in on a tty. It is normally invoked by init. 29//config: getty lets you log in on a tty. It is normally invoked by init.
30//config: 30//config:
31//config: Note that you can save a few bytes by disabling it and 31//config: Note that you can save a few bytes by disabling it and
32//config: using login applet directly. 32//config: using login applet directly.
33//config: If you need to reset tty attributes before calling login, 33//config: If you need to reset tty attributes before calling login,
34//config: this script approximates getty: 34//config: this script approximates getty:
35//config: 35//config:
36//config: exec </dev/$1 >/dev/$1 2>&1 || exit 1 36//config: exec </dev/$1 >/dev/$1 2>&1 || exit 1
37//config: reset 37//config: reset
38//config: stty sane; stty ispeed 38400; stty ospeed 38400 38//config: stty sane; stty ispeed 38400; stty ospeed 38400
39//config: printf "%s login: " "`hostname`" 39//config: printf "%s login: " "`hostname`"
40//config: read -r login 40//config: read -r login
41//config: exec /bin/login "$login" 41//config: exec /bin/login "$login"
42 42
43//applet:IF_GETTY(APPLET(getty, BB_DIR_SBIN, BB_SUID_DROP)) 43//applet:IF_GETTY(APPLET(getty, BB_DIR_SBIN, BB_SUID_DROP))
44 44