8 lines
331 B
Text
8 lines
331 B
Text
#!/sbin/execlineb -P
|
|
if { pipeline { redirfd -w 2 /dev/null s6-rc -a list } grep -qFx mount-filesystems }
|
|
envfile /etc/s6/sv/agetty-tty5/conf
|
|
importas -iu SPAWN SPAWN
|
|
importas -iu USER USER
|
|
if -t { test ${SPAWN} = "yes" }
|
|
ifelse -X { test ${USER} = "" }
|
|
{ exec agetty -L -8 tty5 115200 } exec agetty -L -8 tty5 115200 -a ${USER}
|