examples: update /var/service/getty for Unicode ttys
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user