[Main]
Type = oneshot
Version = 0.1.1
Description = "66-policy: early-getty-down"
User = ( root )
Options = ( !log )
InTree = getty

[Start]
Execute = (
	# Stop stage1 early getty so 66 tty1 can own the VT.
	# Do not use s6-svc -wD here: an unbounded wait can stall the getty tree.
	ifelse { test -d /run/service/s6-linux-init-early-getty }
	{
		foreground { s6-svc -d /run/service/s6-linux-init-early-getty }
	}
	exit 0
)
