arbitrary programs in /etc/ttys

Geert Hendrickx geert.hendrickx at ua.ac.be
Mon Oct 18 11:53:09 PDT 2004


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


More information about the freebsd-questions mailing list