From owner-freebsd-questions@FreeBSD.ORG Mon Oct 18 18:53:09 2004 Return-Path: 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 B567716A4CE for ; Mon, 18 Oct 2004 18:53:09 +0000 (GMT) Received: from outmx002.isp.belgacom.be (outmx002.isp.belgacom.be [195.238.3.52]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1E37D43D5E for ; Mon, 18 Oct 2004 18:53:09 +0000 (GMT) (envelope-from geert@lori.mine.nu) Received: from outmx002.isp.belgacom.be (localhost [127.0.0.1]) with ESMTP id i9IIr3So010174 for ; Mon, 18 Oct 2004 20:53:03 +0200 (envelope-from ) Received: from lori.mine.nu (102-77.243.81.adsl.skynet.be [81.243.77.102]) with ESMTP id i9IIqwLq010128 for ; Mon, 18 Oct 2004 20:52:59 +0200 (envelope-from ) Received: by lori.mine.nu (Postfix, from userid 1000) id 331DB471; Mon, 18 Oct 2004 20:52:58 +0200 (CEST) Date: Mon, 18 Oct 2004 20:52:58 +0200 From: Geert Hendrickx To: freebsd-questions@freebsd.org Message-ID: <20041018185258.GA71347@lori.mine.nu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2i X-GPG-Key: http://lori.mine.nu/gnupgkey.asc X-GPG-Key-ID: 1024D/766C1E92 X-Accept-Language: nl,en Subject: arbitrary programs in /etc/ttys X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Oct 2004 18:53:09 -0000 Hello, I'm trying to turn an old pc into a serial console. I can perfectly get a login on the other end of the line with "cu -l cuaa0", but I would like to have this command started automatically at boot, so the users don't need to be educated about cu :-). So I put the following in /etc/ttys: ttyv0 "/usr/bin/cu -l cuaa0" vt100 on secure But this gives me the following error when restarting init: init: getty repeating too quickly on port /dev/ttyv0, sleeping 30 secs Apparently cu can not be started directly from /etc/ttys, can it? How else should I accomplish this? GH -- :wq