ports/main/nnd-s6-services/tmpl/getty

14 lines
270 B
Plaintext
Executable File

#!/bin/execlineb -W
importas -i TTY TTY
s6-envdir -I /etc/s6/env/path
importas -D "/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin" PATH PATH
s6-envdir -I /etc/s6/env/getty.${TTY}
importas -D 0 BAUD BAUD
emptyenv
export PATH $PATH
exec getty $BAUD $TTY