NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Running a service on a console in the foreground
On Sun, Nov 20, 2022 at 11:10:14AM -0500, Greg Troxel wrote:
>
> Benny Siegert <bsiegert%gmail.com@localhost> writes:
>
> > Is it possible to have some program running in the foreground on one
> > of the VTs on startup, instead of getty? I would like it to start up
> > on boot and use the console for input and output. How do you set up
> > such a thing, or is this simply not supported?
>
> 1) You could try putting it in /etc/ttys. Your program would have to be
> getty-ish.
Some install CDs do that to run sysinst, see e.g.
src/distrib/amd64/cdroms/etc.rc and src/distrib/amd64/installimage/etc.ttys.
Sysinst is not "getty-ish" in any way AFAICT.
Martin
Home |
Main Index |
Thread Index |
Old Index