From owner-freebsd-questions Wed Sep 11 10:22:31 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 8C27A37B400 for ; Wed, 11 Sep 2002 10:22:28 -0700 (PDT) Received: from fep02-app.kolumbus.fi (fep02-0.kolumbus.fi [193.229.0.44]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0F3B343E42 for ; Wed, 11 Sep 2002 10:22:27 -0700 (PDT) (envelope-from desti@sigtrap.com) Received: from sigtrap.com ([212.54.6.16]) by fep02-app.kolumbus.fi with ESMTP id <20020911172221.LEZW22644.fep02-app.kolumbus.fi@sigtrap.com> for ; Wed, 11 Sep 2002 20:22:21 +0300 Message-ID: <3D7F7C6D.6010807@sigtrap.com> Date: Wed, 11 Sep 2002 20:25:01 +0300 From: Edvard Fagerholm User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.0.0) Gecko/20020612 X-Accept-Language: fi, en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Starting programs automatically during boot on a virtual terminal Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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 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