moth/sh4pwn/skeleton/service/tty1/run

7 lines
84 B
Bash
Executable File

#! /bin/sh
dev=/dev/$(basename $(pwd))
test -c $dev || exit
exec getty 38400 $dev