blob: 9a34297c22432876588598179e99b7594491913d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
#!/bin/sh
tty=${PWD##*-}
if [ -x /sbin/getty ]; then
# busybox
GETTY=getty
elif [ -x /sbin/agetty ]; then
# util-linux
GETTY=agetty
fi
exec setsid $GETTY $tty 38400 linux
|