some modification on instpkg
[cmdllinux.git] / scripts / get_tty
blobf06027a608af1037936f61ba12b0b4c1d9b9c724
1 #! /bin/bash
3 trap '' 2
4 tty > /run/ttynum
5 stty eof undef
6 stubdd if=/dev/stdin of=/dev/null