On Sun, Jan 12, 2003 at 11:31:44AM +0100, Florian La Roche wrote: > On Sun, Jan 12, 2003 at 12:09:53PM +0200, Tzafrir Cohen wrote: > > Hi > > > > I have an init script that writes output to the console (I've ruled out > > redirecting its output to a file or to network syslog for various reasons) > > > > The trouble is that as soon as mingetty starts, I can no longer see the > > output of that script. > > You could change mingetty to not use vhangup() to invalidate the filehandels > to the console. Normally daemon programs should use syslog or file logging, > but vhangup() on /dev/console also looks a bit odd.
I have not been good at releasing updated mingetty versions. The one in debian is still the one released in 1996. ;-) Last summer I made a re-release by just applying the patches that have been applied to version shipped with Red Hat Linux and named the result mingetty-1.0. Over the last days I have again looked at the source and adapted it to more current Linux releases. http://people.redhat.com/laroche/ contains a new version that also has a "--novhangup" option that should take care about the above things and I have queued a couple of further things like reading a config file and also allowing automatic logins in different ways that I hope to add soon and release at the same location... greetings, Florian *feature release of mingetty* La Roche
