diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2018-06-23 13:55:13 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2018-06-23 13:55:13 +0200 |
commit | e56e091d650494e4894d24e33ab2cdb7b57dc686 (patch) | |
tree | a2a139ee4f2c2975b98787414e84cdb2bc062c78 /examples/var_service/getty_tty1/run | |
parent | 34254f9ddece34d4df541438ec4f6a1b19929926 (diff) | |
download | busybox-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-x | examples/var_service/getty_tty1/run | 6 |
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 | ||
3 | exec >/dev/null | ||
4 | exec 2>&1 | ||
5 | exec </dev/null | ||
6 | |||
7 | user=root | 3 | user=root |
8 | baud=38400 | 4 | baud=38400 |
9 | delay=3 | 5 | delay=3 |
@@ -25,6 +21,4 @@ test -x ./cfg && . ./cfg | |||
25 | 21 | ||
26 | exec \ | 22 | exec \ |
27 | env - "TERM=$TERM" PATH="$PATH" LOGIN_PRE_SUID_SCRIPT="$PWD/login.sh" \ | 23 | env - "TERM=$TERM" PATH="$PATH" LOGIN_PRE_SUID_SCRIPT="$PWD/login.sh" \ |
28 | softlimit \ | ||
29 | setuidgid "$user" \ | ||
30 | getty "$baud" "$tty" "$TERM" | 24 | getty "$baud" "$tty" "$TERM" |