mirror of
https://github.com/javalsai/lidm.git
synced 2025-08-31 18:38:00 +02:00
feat: add s6 suport
This commit is contained in:
0
assets/services/s6/dependencies.d/hostname
Normal file
0
assets/services/s6/dependencies.d/hostname
Normal file
0
assets/services/s6/dependencies.d/mount-devfs
Normal file
0
assets/services/s6/dependencies.d/mount-devfs
Normal file
8
assets/services/s6/run
Executable file
8
assets/services/s6/run
Executable file
@@ -0,0 +1,8 @@
|
||||
#!/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
|
1
assets/services/s6/type
Normal file
1
assets/services/s6/type
Normal file
@@ -0,0 +1 @@
|
||||
longrun
|
Reference in New Issue
Block a user