Date: Fri, 15 Nov 2002 21:58:48 -0500 (EST) From: Fuzzy <fuzzy@pooh.ASARian.org> To: freebsd-questions@FreeBSD.ORG Subject: howto -- run a non-getty program from /etc/ttys Message-ID: <Pine.BSF.4.44.0211152148040.84726-100000@pooh.ASARian.org> In-Reply-To: <1037364761.97314.4.camel@d80h149.public.uconn.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
I'd like to run /usr/bin/top from /etc/ttys on /dev/ttyv1, (similar to linux's inittab running a non-getty program), and have init rerun it if it exits. I've been told that its possible, and should be something like: ttyv1 "/usr/bin/top" cons25 on secure I also tried ttyv1 "/usr/bin/top > /dev/ttyv1" cons25 on secure (both cause the same error message) but that causes the error message: init: getty repeating too quickly on port /dev/ttyv1, sleeping 30 secs what is the correct syntax for a non-getty program in /etc/ttys? I look at man ttys, but there is no example of a non-getty program there. thanks Fuz To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.44.0211152148040.84726-100000>