[Main]
Type = classic
Version = 0.1.1
Description = "66-policy: tty2"
User = ( root )
Depends = ( hostname mount-rw )
Options = ( !log )
InTree = getty

[Start]
Execute = (
	envfile /etc/66/conf/tty2.conf
	importas -uD "yes" SPAWN SPAWN
	importas -sCuD "" ARGS ARGS
	importas -sCuD "agetty" GETTY GETTY
	if -t { test -e /dev/tty2 }
	if -t { test ${SPAWN} = "yes" }
		exec ${GETTY} -L -8 tty2 115200 ${ARGS}
)
