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-e56e091d650494e4894d24e33ab2cdb7b57dc686.tar.gz
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 @@
#!/bin/sh
-exec >/dev/null
-exec 2>&1
-exec </dev/null
-
user=root
baud=38400
delay=3
@@ -25,6 +21,4 @@ test -x ./cfg && . ./cfg
exec \
env - "TERM=$TERM" PATH="$PATH" LOGIN_PRE_SUID_SCRIPT="$PWD/login.sh" \
-softlimit \
-setuidgid "$user" \
getty "$baud" "$tty" "$TERM"