Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Sep 2002 20:25:01 +0300
From:      Edvard Fagerholm <desti@sigtrap.com>
To:        freebsd-questions@freebsd.org
Subject:   Starting programs automatically during boot on a virtual terminal
Message-ID:  <3D7F7C6D.6010807@sigtrap.com>

next in thread | raw e-mail | index | archive | help
Hello!

I need to start a curses based front-end to an application automatically 
during boot on a terminal without ever asking for any login or similar. 
How can this be done in FreeBSD? On linux you can use inittab and use 
the binary "open" to configure the terminal, but I've got no idea how to 
do it on FreeBSD.

So ttyv0 should be running this program and all the other terminals 
should have a normal login prompt. I've looked at various files like 
/etc/ttys where you can specify the terminal application to run, but you 
can't just run any application here as it has to configure the terminal 
and getty can't be used as it doesn't run any other binary than "login".

Thanks in advance
Edvard



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3D7F7C6D.6010807>