aboutsummaryrefslogtreecommitdiff
path: root/examples/var_service/getty_tty1/run
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2018-06-23 13:55:13 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2018-06-23 13:55:13 +0200
commite56e091d650494e4894d24e33ab2cdb7b57dc686 (patch)
treea2a139ee4f2c2975b98787414e84cdb2bc062c78 /examples/var_service/getty_tty1/run
parent34254f9ddece34d4df541438ec4f6a1b19929926 (diff)
downloadbusybox-w32-e56e091d650494e4894d24e33ab2cdb7b57dc686.tar.gz
busybox-w32-e56e091d650494e4894d24e33ab2cdb7b57dc686.tar.bz2
busybox-w32-e56e091d650494e4894d24e33ab2cdb7b57dc686.zip
examples: update /var/service/getty for Unicode ttys
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'examples/var_service/getty_tty1/run')
-rwxr-xr-xexamples/var_service/getty_tty1/run6
1 files changed, 0 insertions, 6 deletions
diff --git a/examples/var_service/getty_tty1/run b/examples/var_service/getty_tty1/run
index c7c413ba4..c5b291b4d 100755
--- a/examples/var_service/getty_tty1/run
+++ b/examples/var_service/getty_tty1/run
@@ -1,9 +1,5 @@
1#!/bin/sh 1#!/bin/sh
2 2
3exec >/dev/null
4exec 2>&1
5exec </dev/null
6
7user=root 3user=root
8baud=38400 4baud=38400
9delay=3 5delay=3
@@ -25,6 +21,4 @@ test -x ./cfg && . ./cfg
25 21
26exec \ 22exec \
27env - "TERM=$TERM" PATH="$PATH" LOGIN_PRE_SUID_SCRIPT="$PWD/login.sh" \ 23env - "TERM=$TERM" PATH="$PATH" LOGIN_PRE_SUID_SCRIPT="$PWD/login.sh" \
28softlimit \
29setuidgid "$user" \
30getty "$baud" "$tty" "$TERM" 24getty "$baud" "$tty" "$TERM"