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

14 lines
270 B
Plaintext
Raw Normal View History

2022-12-08 08:09:51 +00:00
#!/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