Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Sep 2002 10:29:47 -0700
From:      Mike Hogsett <hogsett@csl.sri.com>
To:        Edvard Fagerholm <desti@sigtrap.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Starting programs automatically during boot on a virtual terminal 
Message-ID:  <200209111729.g8BHTlP8065229@axp.csl.sri.com>
In-Reply-To: Message from Edvard Fagerholm <desti@sigtrap.com>  of "Wed, 11 Sep 2002 20:25:01 %2B0300." <3D7F7C6D.6010807@sigtrap.com> 

next in thread | previous in thread | raw e-mail | index | archive | help


I assume you have /usr/src, why not compile your own getty changing
_PATH_LOGIN to something else in /usr/src/libexec/getty/pathnames.h?

I have never done this but it is what I would start with.

 - Mike

> 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

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?200209111729.g8BHTlP8065229>