aboutsummaryrefslogtreecommitdiff
path: root/examples/var_service/getty_tty1/run
diff options
context:
space:
mode:
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"