From owner-freebsd-questions Wed Sep 11 10:29:54 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D0DCF37B400 for ; Wed, 11 Sep 2002 10:29:50 -0700 (PDT) Received: from casper.sri.com (casper.SRI.COM [128.18.243.12]) by mx1.FreeBSD.org (Postfix) with SMTP id 4D56443E4A for ; Wed, 11 Sep 2002 10:29:50 -0700 (PDT) (envelope-from hogsett@csl.sri.com) Received: (qmail 1817 invoked from network); 11 Sep 2002 17:33:21 -0000 Received: from localhost (HELO casper.SRI.COM) (127.0.0.1) by casper.sri.com with SMTP; 11 Sep 2002 17:33:21 -0000 Received: from quarter.csl.sri.com ([130.107.1.30]) by casper.SRI.COM (NAVGW 2.5.1.18) with SMTP id M2002091110332014369 ; Wed, 11 Sep 2002 10:33:20 -0700 Received: from axp.csl.sri.com (axp.csl.sri.com [130.107.2.30]) by quarter.csl.sri.com (8.12.4/8.12.4) with ESMTP id g8BHTnnr024679; Wed, 11 Sep 2002 10:29:49 -0700 Received: from axp.csl.sri.com (localhost [127.0.0.1]) by axp.csl.sri.com (8.12.3/8.12.3) with ESMTP id g8BHTlP8065229; Wed, 11 Sep 2002 10:29:48 -0700 (PDT) (envelope-from hogsett@axp.csl.sri.com) Message-Id: <200209111729.g8BHTlP8065229@axp.csl.sri.com> To: Edvard Fagerholm Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Starting programs automatically during boot on a virtual terminal In-Reply-To: Message from Edvard Fagerholm of "Wed, 11 Sep 2002 20:25:01 +0300." <3D7F7C6D.6010807@sigtrap.com> Mime-Version: 1.0 (generated by tm-edit 8.8 (Time Passed Me By)) Content-Type: text/plain; charset=US-ASCII Date: Wed, 11 Sep 2002 10:29:47 -0700 From: Mike Hogsett Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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