mirror of
https://github.com/javalsai/lidm.git
synced 2025-07-03 22:38:41 +02:00
9 lines
293 B
Plaintext
Executable File
9 lines
293 B
Plaintext
Executable File
#!/bin/execlineb -P
|
|
if { pipeline { s6-rc -ba list } grep -qFx mount-filesystems }
|
|
importas -uD "yes" SPAWN SPAWN
|
|
importas -sCuD "" ARGS ARGS
|
|
importas -sCuD "agetty" GETTY GETTY
|
|
if -t { test -e /dev/tty7 }
|
|
if -t { test ${SPAWN} = "yes" }
|
|
exec agetty -8 tty7 115200 ${ARGS} -nl /bin/lidm -o 7
|