Fix some service definitions based on a running system

This commit is contained in:
Nathan Fisher 2022-10-03 09:37:41 -04:00
parent c1261c7bd2
commit c103ece8b1
20 changed files with 18 additions and 21 deletions

View File

@ -2,4 +2,4 @@
if { pipeline { redirfd -w 2 /dev/null s6-rc -a list } grep -qFx mount-filesystems }
envfile /etc/s6/sv/getty-tty1/conf
importas -iu SPAWN SPAWN
exec getty tty1
exec getty /dev/tty1

View File

@ -2,4 +2,4 @@
if { pipeline { redirfd -w 2 /dev/null s6-rc -a list } grep -qFx mount-filesystems }
envfile /etc/s6/sv/getty-tty2/conf
importas -iu SPAWN SPAWN
exec getty tty2
exec getty /dev/tty2

View File

@ -2,4 +2,4 @@
if { pipeline { redirfd -w 2 /dev/null s6-rc -a list } grep -qFx mount-filesystems }
envfile /etc/s6/sv/getty-tty3/conf
importas -iu SPAWN SPAWN
exec getty tty3
exec getty /dev/tty3

View File

@ -2,4 +2,4 @@
if { pipeline { redirfd -w 2 /dev/null s6-rc -a list } grep -qFx mount-filesystems }
envfile /etc/s6/sv/getty-tty4/conf
importas -iu SPAWN SPAWN
exec getty tty4
exec getty /dev/tty4

View File

@ -1,5 +1,5 @@
#!/bin/execlineb -P
if { pipeline { redirfd -w 2 /dev/null s6-rc -a list } grep -qFx mount-filesystems }
envfile /etc/s6/sv/agetty-tty5/conf
envfile /etc/s6/sv/getty-tty5/conf
importas -iu SPAWN SPAWN
exec getty tty5
exec getty /dev/tty5

View File

@ -1,5 +1,5 @@
#!/bin/execlineb -P
if { pipeline { redirfd -w 2 /dev/null s6-rc -a list } grep -qFx mount-filesystems }
envfile /etc/s6/sv/agetty-tty6/conf
envfile /etc/s6/sv/getty-tty6/conf
importas -iu SPAWN SPAWN
exec getty tty6
exec getty /dev/tty6

View File

@ -2,4 +2,4 @@
if { pipeline { redirfd -w 2 /dev/null s6-rc -a list } grep -qFx mount-filesystems }
envfile /etc/s6/sv/getty-tty1/conf
importas -iu SPAWN SPAWN
exec getty tty1
exec getty /dev/tty1

View File

@ -2,4 +2,4 @@
if { pipeline { redirfd -w 2 /dev/null s6-rc -a list } grep -qFx mount-filesystems }
envfile /etc/s6/sv/getty-tty2/conf
importas -iu SPAWN SPAWN
exec getty tty2
exec getty /dev/tty2

View File

@ -2,4 +2,4 @@
if { pipeline { redirfd -w 2 /dev/null s6-rc -a list } grep -qFx mount-filesystems }
envfile /etc/s6/sv/getty-tty3/conf
importas -iu SPAWN SPAWN
exec getty tty3
exec getty /dev/tty3

View File

@ -2,4 +2,4 @@
if { pipeline { redirfd -w 2 /dev/null s6-rc -a list } grep -qFx mount-filesystems }
envfile /etc/s6/sv/getty-tty4/conf
importas -iu SPAWN SPAWN
exec getty tty4
exec getty /dev/tty4

View File

@ -1,5 +1,5 @@
#!/bin/execlineb -P
if { pipeline { redirfd -w 2 /dev/null s6-rc -a list } grep -qFx mount-filesystems }
envfile /etc/s6/sv/agetty-tty5/conf
envfile /etc/s6/sv/getty-tty5/conf
importas -iu SPAWN SPAWN
exec getty tty5
exec getty /dev/tty5

View File

@ -1,5 +1,5 @@
#!/bin/execlineb -P
if { pipeline { redirfd -w 2 /dev/null s6-rc -a list } grep -qFx mount-filesystems }
envfile /etc/s6/sv/agetty-tty6/conf
envfile /etc/s6/sv/getty-tty6/conf
importas -iu SPAWN SPAWN
exec getty tty6
exec getty /dev/tty6

View File

@ -1,6 +1,5 @@
hostname
hwclock
modules
kmod-static-nodes
tmpfiles-dev
rc-local

View File

@ -1,3 +1,3 @@
#!/bin/execlineb -P
foreground { mount -a -t nonfs,nocifs }
foreground { mount -a -o no_netdev }
foreground { if { test -x /usr/bin/zfs } zfs mount -a }

View File

@ -1,2 +1,2 @@
#!/bin/execlineb -P
exec mount -a -t nfs,cifs
exec mount -a -o netdev

View File

@ -4,7 +4,6 @@ getty
net-lo
swap
random-seed
tmpfiles-setup
dmesg
sysctl
binfmt