Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Oct 2004 20:52:58 +0200
From:      Geert Hendrickx <geert.hendrickx@ua.ac.be>
To:        freebsd-questions@freebsd.org
Subject:   arbitrary programs in /etc/ttys
Message-ID:  <20041018185258.GA71347@lori.mine.nu>

next in thread | raw e-mail | index | archive | help
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



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